mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
Chmod everything on OSX, to be certain
This commit is contained in:
parent
2ba75147a8
commit
bf4665486b
@ -3769,6 +3769,7 @@ def MakeInstallerOSX():
|
||||
if len(line.strip()) > 0:
|
||||
libname = line.strip().split(GetOutputDir()+"/lib/")[1].split(" ")[0]
|
||||
oscmd("install_name_tool -change %s/lib/%s %s %s%s" % (GetOutputDir(), libname, libname, bindir, fn), True)
|
||||
oscmd("chmod +x %s%s" % (bindir, fn), True)
|
||||
for fn in os.listdir(libdir):
|
||||
if os.path.isfile(libdir + fn):
|
||||
oscmd("install_name_tool -id %s %s%s" % (fn, libdir, fn), True)
|
||||
@ -3777,6 +3778,7 @@ def MakeInstallerOSX():
|
||||
if len(line.strip()) > 0:
|
||||
libname = line.strip().split(GetOutputDir()+"/lib/")[1].split(" ")[0]
|
||||
oscmd("install_name_tool -change %s/lib/%s %s %s%s" % (GetOutputDir(), libname, libname, libdir, fn), True)
|
||||
oscmd("chmod +x %s%s" % (libdir, fn), True)
|
||||
# Compile the python files
|
||||
for base in os.listdir("Panda3D-tpl-rw/Panda3D/"+VERSION+"/lib/direct"):
|
||||
if ((base != "extensions") and (base != "extensions_native")):
|
||||
|
Loading…
x
Reference in New Issue
Block a user