diff --git a/wxPython/config.py b/wxPython/config.py index b08b68a0bd..3b2de23850 100644 --- a/wxPython/config.py +++ b/wxPython/config.py @@ -698,7 +698,6 @@ if os.name == 'nt': makeLibName('core')[0], makeLibName('adv')[0], makeLibName('html')[0], - makeLibName('xrc')[0], ] libs = libs + ['kernel32', 'user32', 'gdi32', 'comdlg32', diff --git a/wxPython/setup.py b/wxPython/setup.py index e61f68bfb2..42d59936a9 100755 --- a/wxPython/setup.py +++ b/wxPython/setup.py @@ -453,7 +453,7 @@ ext = Extension('_xrc', define_macros = defines, library_dirs = libdirs, - libraries = libs, + libraries = libs + makeLibName('xrc'), extra_compile_args = cflags, extra_link_args = lflags, @@ -468,7 +468,7 @@ ext = Extension('_richtext', swig_sources, include_dirs = includes, define_macros = defines, library_dirs = libdirs, - libraries = libs, + libraries = libs + makeLibName('richtext'), extra_compile_args = cflags, extra_link_args = lflags, **depends