mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -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,7 +749,10 @@ if (COMPILER=="GCC"):
|
||||
|
||||
for pkg in MAYAVERSIONS:
|
||||
if (PkgSkip(pkg)==0 and (pkg in SDK)):
|
||||
LibName(pkg, "-Wl,-rpath," + SDK[pkg] + "/lib")
|
||||
if GetTarget() == 'darwin':
|
||||
LibName(pkg, "-Wl,-rpath," + SDK[pkg] + "/Maya.app/Contents/MacOS")
|
||||
else:
|
||||
LibName(pkg, "-Wl,-rpath," + SDK[pkg] + "/lib")
|
||||
LibName(pkg, "-lOpenMaya")
|
||||
LibName(pkg, "-lOpenMayaAnim")
|
||||
LibName(pkg, "-lAnimSlice")
|
||||
|
Loading…
x
Reference in New Issue
Block a user