From 86695679500b2d004461b42236e29e978b38d8db Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 23 Jul 2009 14:13:04 +0000 Subject: [PATCH] "strip" fix for OSX --- makepanda/makepanda.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index e9ae8e6012..44050c962e 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -4053,7 +4053,10 @@ def MakeRuntime(): omit = True if omit: continue CopyFile(GetOutputDir()+"/rlib/"+base, GetOutputDir()+"/lib/"+base) - oscmd("strip --strip-all "+GetOutputDir()+"/rlib/"+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. command = sys.executable + " direct/src/plugin/make_package.py"