optionally add the media library if not a MONOLITHIC build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -356,14 +356,16 @@ ext = Extension('_html', swig_sources,
|
|||||||
wxpExtensions.append(ext)
|
wxpExtensions.append(ext)
|
||||||
|
|
||||||
|
|
||||||
|
mediaLibs = libs[:]
|
||||||
|
if not MONOLITHIC and os.name == 'nt':
|
||||||
|
mediaLibs.append(makeLibName('media')[0])
|
||||||
swig_sources = run_swig(['media.i'], 'src', GENDIR, PKGDIR,
|
swig_sources = run_swig(['media.i'], 'src', GENDIR, PKGDIR,
|
||||||
USE_SWIG, swig_force, swig_args, swig_deps)
|
USE_SWIG, swig_force, swig_args, swig_deps)
|
||||||
ext = Extension('_media', swig_sources,
|
ext = Extension('_media', swig_sources,
|
||||||
include_dirs = includes,
|
include_dirs = includes,
|
||||||
define_macros = defines,
|
define_macros = defines,
|
||||||
library_dirs = libdirs,
|
library_dirs = libdirs,
|
||||||
libraries = libs,
|
libraries = mediaLibs,
|
||||||
extra_compile_args = cflags,
|
extra_compile_args = cflags,
|
||||||
extra_link_args = lflags,
|
extra_link_args = lflags,
|
||||||
**depends
|
**depends
|
||||||
|
Reference in New Issue
Block a user