Don't use stc lib if building monolithic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -656,6 +656,10 @@ if BUILD_STC:
|
|||||||
opj(location, "_stc_gendocs.i"),
|
opj(location, "_stc_gendocs.i"),
|
||||||
] + swig_deps)
|
] + swig_deps)
|
||||||
|
|
||||||
|
stcLibs = libs[:]
|
||||||
|
if not MONOLITHIC and findLib('stc', libdirs):
|
||||||
|
stcLibs += makeLibName('stc')
|
||||||
|
|
||||||
ext = Extension('_stc',
|
ext = Extension('_stc',
|
||||||
swig_sources,
|
swig_sources,
|
||||||
|
|
||||||
@@ -663,7 +667,7 @@ if BUILD_STC:
|
|||||||
define_macros = defines,
|
define_macros = defines,
|
||||||
|
|
||||||
library_dirs = libdirs,
|
library_dirs = libdirs,
|
||||||
libraries = libs + makeLibName('stc'),
|
libraries = stcLibs,
|
||||||
|
|
||||||
extra_compile_args = cflags,
|
extra_compile_args = cflags,
|
||||||
extra_link_args = lflags,
|
extra_link_args = lflags,
|
||||||
|
Reference in New Issue
Block a user