VER_MAJOR = 2 # The first three must match wxWidgets
VER_MINOR = 7
VER_RELEASE = 0
-VER_SUBREL = 0 # wxPython release num for x.y.z release of wxWidgets
+VER_SUBREL = 1 # wxPython release num for x.y.z release of wxWidgets
VER_FLAGS = "pre" # release flags, such as prerelease or RC num, etc.
DESCRIPTION = "Cross platform GUI toolkit for Python"
-def adjustLFLAGS(lfags, libdirs, libs):
+def adjustLFLAGS(lflags, libdirs, libs):
'''Extract the -L and -l flags and put them in libdirs and libs as needed'''
newLFLAGS = []
for flag in lflags:
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') ]
makeLibName('core')[0],
makeLibName('adv')[0],
makeLibName('html')[0],
- makeLibName('xrc')[0],
]
libs = libs + ['kernel32', 'user32', 'gdi32', 'comdlg32',