You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
835 B

  1. === modified file 'wxPython/config.py'
  2. --- wxPython/config.py 2014-02-15 10:10:05 +0000
  3. +++ wxPython/config.py 2014-02-15 18:05:33 +0000
  4. @@ -22,6 +22,7 @@
  5. import sys, os, glob, fnmatch, tempfile
  6. import subprocess
  7. +import re
  8. EGGing = 'bdist_egg' in sys.argv or 'egg_info' in sys.argv
  9. if not EGGing:
  10. @@ -1059,10 +1060,9 @@
  11. libs = ['stdc++']
  12. NO_SCRIPTS = 1
  13. if ARCH != "":
  14. - cflags.append("-arch")
  15. - cflags.append(ARCH)
  16. - lflags.append("-arch")
  17. - lflags.append(ARCH)
  18. + splitArch = "-arch " + re.sub(","," -arch ",ARCH)
  19. + cflags.extend(splitArch.split(' '))
  20. + lflags.extend(splitArch.split(' '))
  21. if not os.environ.get('CC') or not os.environ.get('CXX'):
  22. os.environ["CXX"] = getWxConfigValue('--cxx')