X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bbabc0647910d6afea914a7c295cfb761ac2423..a0ef52c0383af9624f257cf2d999c1995146ab5f:/wxPython/config.py diff --git a/wxPython/config.py b/wxPython/config.py index b212052218..d52eb5961b 100644 --- a/wxPython/config.py +++ b/wxPython/config.py @@ -585,7 +585,11 @@ def adjustLFLAGS(lflags, libdirs, libs): else: newLFLAGS.append(flag) - return newLFLAGS + # remove any flags for universal binaries, we'll get those from + # distutils instead + return [flag for flag in newLFLAGS + if flag not in ['-isysroot', '-arch', 'ppc', 'i386'] and + not flag.startswith('/Developer') ]