Mac lipo build patch from Kevin O.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -574,6 +574,11 @@ if BUILD_GLCANVAS:
|
||||
gl_libs = libs + ['opengl32', 'glu32'] + makeLibName('gl')
|
||||
gl_lflags = lflags
|
||||
|
||||
if sys.platform[:6] == "darwin" and WXPORT == 'mac':
|
||||
if not ARCH == "":
|
||||
gl_lflags.append("-arch")
|
||||
gl_lflags.append(ARCH)
|
||||
|
||||
ext = Extension('_glcanvas',
|
||||
swig_sources,
|
||||
|
||||
|
Reference in New Issue
Block a user