mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
Fix from benchang for proper rpath on Mac OS X when linking maya2egg_bin
This commit is contained in:
parent
4bf17ae286
commit
c765d39a95
@ -749,6 +749,9 @@ if (COMPILER=="GCC"):
|
|||||||
|
|
||||||
for pkg in MAYAVERSIONS:
|
for pkg in MAYAVERSIONS:
|
||||||
if (PkgSkip(pkg)==0 and (pkg in SDK)):
|
if (PkgSkip(pkg)==0 and (pkg in SDK)):
|
||||||
|
if GetTarget() == 'darwin':
|
||||||
|
LibName(pkg, "-Wl,-rpath," + SDK[pkg] + "/Maya.app/Contents/MacOS")
|
||||||
|
else:
|
||||||
LibName(pkg, "-Wl,-rpath," + SDK[pkg] + "/lib")
|
LibName(pkg, "-Wl,-rpath," + SDK[pkg] + "/lib")
|
||||||
LibName(pkg, "-lOpenMaya")
|
LibName(pkg, "-lOpenMaya")
|
||||||
LibName(pkg, "-lOpenMayaAnim")
|
LibName(pkg, "-lOpenMayaAnim")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user