X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bbabc0647910d6afea914a7c295cfb761ac2423..14a010678d1b6b3f565361de562d9bc93c11aeb0:/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') ]