mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
install_name_tool -id as well
This commit is contained in:
parent
842ca44877
commit
ba6aacae91
@ -4868,6 +4868,7 @@ def MakeInstallerOSX():
|
||||
|
||||
# Execute install_name_tool to make them reference an absolute path
|
||||
if (not os.path.islink(libname)):
|
||||
oscmd("install_name_tool -id /Developer/Panda3D/lib/%s %s" % (base, libname), True)
|
||||
oscmd("otool -L %s | grep .%s.dylib > %s/tmp/otool-libs.txt" % (libname, VERSION, GetOutputDir()), True)
|
||||
for line in open(GetOutputDir()+"/tmp/otool-libs.txt", "r"):
|
||||
if len(line.strip()) > 0:
|
||||
|
Loading…
x
Reference in New Issue
Block a user