Kaynağa Gözat

"strip" fix for OSX

rdb 16 yıl önce
ebeveyn
işleme
8669567950
1 değiştirilmiş dosya ile 4 ekleme ve 1 silme
  1. 4 1
      makepanda/makepanda.py

+ 4 - 1
makepanda/makepanda.py

@@ -4053,7 +4053,10 @@ 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)
-                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.
     # Invoke the make_package and make_contents scripts.
     command = sys.executable + " direct/src/plugin/make_package.py"
     command = sys.executable + " direct/src/plugin/make_package.py"