X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0adbc1660ee4c4526a9011cb9347cb668c41ec3e..77436c4cbac2269e564dc4fcf4494a58feca0af4:/wxPython/setup.py diff --git a/wxPython/setup.py b/wxPython/setup.py index e9e5779cf5..e0c545f162 100755 --- a/wxPython/setup.py +++ b/wxPython/setup.py @@ -204,7 +204,7 @@ if os.name == 'nt': 'advapi32', 'wsock32'] - cflags = [] #['/GX-'] # workaround for internal compiler error in MSVC 5 + cflags = [] #['/GX-'] # workaround for internal compiler error in MSVC on some machines lflags = None @@ -377,6 +377,20 @@ if not GL_ONLY: wxpExtensions.append(ext) + # Extension for the help module + swig_sources = run_swig(['help.i'], 'src', GENDIR, PKGDIR, + USE_SWIG, swig_force, swig_args, swig_deps) + ext = Extension('helpc', swig_sources, + include_dirs = includes, + define_macros = defines, + library_dirs = libdirs, + libraries = libs, + extra_compile_args = cflags, + extra_link_args = lflags, + ) + wxpExtensions.append(ext) + + #---------------------------------------------------------------------- # Define the GLCanvas extension module #----------------------------------------------------------------------