From 7aab057245c11bb72ef3897fc1cc283cca2d8d7c Mon Sep 17 00:00:00 2001 From: rdb Date: Sat, 28 Dec 2019 21:25:41 -0500 Subject: [PATCH] makepanda: change strange rpath argument for maya2egg on macOS It doesn't seem like this setting is actually needed (because mayapath does the necessary set-up), but while it's set, we might as well set it to something more sensible. --- makepanda/makepanda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")