diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-12-07 21:23:40 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-12-07 21:23:40 +0000 |
| commit | c09d415cac646bfd3067f359ca454dc5ea3679e5 (patch) | |
| tree | 5846cce350d1bf323bf9aaaed0bfaa9f6a69f0cd /src/wx/wscript | |
| parent | b4ec9ce787c63b27c96c404b1bd44eccd56ab16e (diff) | |
Allow static builds.
Diffstat (limited to 'src/wx/wscript')
| -rw-r--r-- | src/wx/wscript | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/wx/wscript b/src/wx/wscript index d425c3e05..4dbb04eea 100644 --- a/src/wx/wscript +++ b/src/wx/wscript @@ -2,7 +2,11 @@ def configure(conf): conf.check_cfg(package = '', path = 'wx-config', args = '--cppflags --cxxflags --libs', uselib_store = 'WXWIDGETS', mandatory = True) def build(bld): - obj = bld(features = 'cxx cxxshlib') + if bld.env.STATIC: + obj = bld(features = 'cxx cxxstlib') + else: + obj = bld(features = 'cxx cxxshlib') + obj.name = 'libdvdomatic-wx' obj.includes = [ '..' ] obj.export_includes = ['.'] |
