"strip" fix for OSX

This commit is contained in:
rdb 2009-07-23 14:13:04 +00:00
parent e4ade4035c
commit 8669567950

View File

@ -4053,6 +4053,9 @@ def MakeRuntime():
omit = True
if omit: continue
CopyFile(GetOutputDir()+"/rlib/"+base, GetOutputDir()+"/lib/"+base)
if (sys.platform == "darwin"):
oscmd("strip "+GetOutputDir()+"/rlib/"+base)
else:
oscmd("strip --strip-all "+GetOutputDir()+"/rlib/"+base)
# Invoke the make_package and make_contents scripts.