swig_sources = run_swig(['richtext.i'], 'src', GENDIR, PKGDIR,
- USE_SWIG, swig_force, swig_args, swig_deps)
+ USE_SWIG, swig_force, swig_args,
+ swig_deps + [ 'src/_richtextbuffer.i',
+ 'src/_richtextctrl.i',
+ 'src/_richtexthtml.i',
+ 'src/_richtextxml.i',
+ ])
if not MONOLITHIC and findLib('richtext', libdirs):
richLib = makeLibName('richtext')
else:
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,