diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index a67422c6c5..6cecc8cc31 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -1083,7 +1083,7 @@ if (COMPILER=="GCC"): for pkg in MAYAVERSIONS: if (PkgSkip(pkg)==0 and (pkg in SDK)): if GetTarget() == 'darwin': - LibName(pkg, "-Wl,-rpath," + SDK[pkg] + "/Maya.app/Contents/MacOS") + LibName(pkg, "-Wl,-rpath,/Applications/Autodesk/" + pkg.lower() + "/Maya.app/Contents/MacOS") else: LibName(pkg, "-Wl,-rpath," + SDK[pkg] + "/lib") LibName(pkg, "-lOpenMaya")