Browse Source

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

rdb 13 năm trước cách đây
mục cha
commit
de92555eee
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)))
 
         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))