mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
"strip" fix for OSX
This commit is contained in:
parent
e4ade4035c
commit
8669567950
@ -4053,6 +4053,9 @@ def MakeRuntime():
|
|||||||
omit = True
|
omit = True
|
||||||
if omit: continue
|
if omit: continue
|
||||||
CopyFile(GetOutputDir()+"/rlib/"+base, GetOutputDir()+"/lib/"+base)
|
CopyFile(GetOutputDir()+"/rlib/"+base, GetOutputDir()+"/lib/"+base)
|
||||||
|
if (sys.platform == "darwin"):
|
||||||
|
oscmd("strip "+GetOutputDir()+"/rlib/"+base)
|
||||||
|
else:
|
||||||
oscmd("strip --strip-all "+GetOutputDir()+"/rlib/"+base)
|
oscmd("strip --strip-all "+GetOutputDir()+"/rlib/"+base)
|
||||||
|
|
||||||
# Invoke the make_package and make_contents scripts.
|
# Invoke the make_package and make_contents scripts.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user