Bläddra i källkod

we can't use strip now that we use a non-static pystub

rdb 13 år sedan
förälder
incheckning
de92555eee
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      makepanda/makepanda.py

+ 1 - 1
makepanda/makepanda.py

@@ -1436,7 +1436,7 @@ def CompileLink(dll, obj, opts):
             oscmd('%s --strip-unneeded %s' % (GetStrip(), BracketNameWithQuotes(new_path)))
             oscmd('%s --strip-unneeded %s' % (GetStrip(), BracketNameWithQuotes(new_path)))
 
 
         elif (GetOrigExt(dll)==".exe" and GetOptimizeOption(opts)==4 and "NOSTRIP" not in opts):
         elif (GetOrigExt(dll)==".exe" and GetOptimizeOption(opts)==4 and "NOSTRIP" not in opts):
-            oscmd(GetStrip() + " " + BracketNameWithQuotes(dll))
+            oscmd(GetStrip() + " -x " + BracketNameWithQuotes(dll))
 
 
         os.system("chmod +x " + BracketNameWithQuotes(dll))
         os.system("chmod +x " + BracketNameWithQuotes(dll))