mediaLibs = libs[:]
-if not MONOLITHIC:
+if not MONOLITHIC and findLib('media', libdirs):
mediaLibs += makeLibName('media')
swig_sources = run_swig(['media.i'], 'src', GENDIR, PKGDIR,
USE_SWIG, swig_force, swig_args, swig_deps)
'src/_xml.i',
'src/_xmlhandler.i',
])
-if not MONOLITHIC:
+
+if not MONOLITHIC and findLib('xrc', libdirs):
xrcLib = makeLibName('xrc')
else:
xrcLib = []
swig_sources = run_swig(['richtext.i'], 'src', GENDIR, PKGDIR,
USE_SWIG, swig_force, swig_args, swig_deps)
-if not MONOLITHIC:
+if not MONOLITHIC and findLib('richtext', libdirs):
richLib = makeLibName('richtext')
else:
richLib = []
opj(WXDIR, 'include/wx/aui/dockart.h'),
opj(WXDIR, 'include/wx/aui/auibook.h'),
])
-if not MONOLITHIC:
+if not MONOLITHIC and findLib('aui', libdirs):
auiLib = makeLibName('aui')
else:
auiLib = []