X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/828ed945a74d91121c9ba631cf29957fd5edc70a..aa34396cb224b539dd9fd7eaefd31a1907c22959:/wxPython/setup.py diff --git a/wxPython/setup.py b/wxPython/setup.py index f3bbe0f260..28f221b0df 100755 --- a/wxPython/setup.py +++ b/wxPython/setup.py @@ -627,7 +627,7 @@ if BUILD_STC: msg('Preparing STC...') location = 'contrib/stc' #if os.name == 'nt': - STC_H = opj(WXDIR, 'contrib', 'include/wx/stc') + STC_H = opj(WXDIR, 'include/wx/stc') #else: # STC_H = opj(WXPREFIX, 'include/wx-%d.%d/wx/stc' % (VER_MAJOR, VER_MINOR)) @@ -656,6 +656,10 @@ if BUILD_STC: opj(location, "_stc_gendocs.i"), ] + swig_deps) + stcLibs = libs[:] + if not MONOLITHIC and findLib('stc', libdirs): + stcLibs += makeLibName('stc') + ext = Extension('_stc', swig_sources, @@ -663,7 +667,7 @@ if BUILD_STC: define_macros = defines, library_dirs = libdirs, - libraries = libs + makeLibName('stc'), + libraries = stcLibs, extra_compile_args = cflags, extra_link_args = lflags, @@ -720,7 +724,7 @@ if BUILD_GIZMOS: ext = Extension('_gizmos', [ '%s/treelistctrl.cpp' % opj(location, 'wxCode/src'), '%s/gizmos/dynamicsash.cpp' % opj(location, 'wxCode/src'), - '%s/gizmos/editlbox.cpp' % opj(location, 'wxCode/src'), + #'%s/gizmos/editlbox.cpp' % opj(location, 'wxCode/src'), '%s/gizmos/ledctrl.cpp' % opj(location, 'wxCode/src'), '%s/gizmos/splittree.cpp' % opj(location, 'wxCode/src'), '%s/gizmos/statpict.cpp' % opj(location, 'wxCode/src'),