mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
fix fmod on 1.7.0 osx build
This commit is contained in:
parent
385249cfa2
commit
33dca73f9e
@ -4874,8 +4874,8 @@ def MakeInstallerOSX():
|
||||
for line in open(GetOutputDir()+"/tmp/otool-libs.txt", "r"):
|
||||
if len(line.strip()) > 0 and not line.strip().endswith(":"):
|
||||
libdep = line.strip().split(" ", 1)[0]
|
||||
if "/" not in libdep:
|
||||
oscmd("install_name_tool -change %s /Developer/Panda3D/lib/%s %s" % (libdep, libdep, libname), True)
|
||||
if not libdep.startswith("/"):
|
||||
oscmd("install_name_tool -change %s /Developer/Panda3D/lib/%s %s" % (libdep, os.path.basename(libdep), libname), True)
|
||||
|
||||
# Scripts to configure this version of Panda3D (in environment.plist)
|
||||
oscmd("mkdir -p dstroot/scripts/base/")
|
||||
@ -4920,8 +4920,8 @@ def MakeInstallerOSX():
|
||||
for line in open(GetOutputDir()+"/tmp/otool-libs.txt", "r"):
|
||||
if len(line.strip()) > 0 and not line.strip().endswith(":"):
|
||||
libdep = line.strip().split(" ", 1)[0]
|
||||
if "/" not in libdep:
|
||||
oscmd("install_name_tool -change %s /Developer/Panda3D/lib/%s %s" % (libdep, libdep, binname), True)
|
||||
if not libdep.startswith("/"):
|
||||
oscmd("install_name_tool -change %s /Developer/Panda3D/lib/%s %s" % (libdep, os.path.basename(libdep), binname), True)
|
||||
|
||||
if PkgSkip("PYTHON")==0:
|
||||
oscmd("mkdir -p dstroot/pythoncode/usr/bin")
|
||||
|
Loading…
x
Reference in New Issue
Block a user