diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-01-21 16:40:09 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-01-21 16:40:09 +0000 |
| commit | ac3fecc5bd3eaf279c668e331f6f92a02a2d41d3 (patch) | |
| tree | 781e232bccdc584e981bd564fb0ae1c376fc2d7a | |
| parent | 697014ed0f9d672b462876938bfbdbcdbf5a7b3c (diff) | |
Fix Centos build after changes to container.
| -rw-r--r-- | src/wx/wscript | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/wx/wscript b/src/wx/wscript index 7221316d3..74d4d8bce 100644 --- a/src/wx/wscript +++ b/src/wx/wscript @@ -122,12 +122,15 @@ sources = """ """ def configure(conf): + + wx_libs = 'core,richtext,adv,html,xml' + try: wx_config = '/usr/lib64/wx/config/gtk2-unicode-3.0' conf.check_cfg(msg='Checking for wxWidgets using gtk2-unicode-3.0', package='', path=wx_config, - args='--cppflags --cxxflags --libs std,richtext', + args='--cppflags --cxxflags --libs %s' % wx_libs, uselib_store='WXWIDGETS', mandatory=True) except: @@ -136,7 +139,7 @@ def configure(conf): conf.check_cfg(msg='Checking for wxWidgets using wx-config-3.0-gtk2', package='', path=wx_config, - args='--cppflags --cxxflags --libs std,richtext', + args='--cppflags --cxxflags --libs %s' % wx_libs, uselib_store='WXWIDGETS', mandatory=True) except: @@ -144,7 +147,7 @@ def configure(conf): conf.check_cfg(msg='Checking for wxWidgets using wx-config', package='', path=wx_config, - args='--cppflags --cxxflags --libs std,richtext', + args='--cppflags --cxxflags --libs %s' % wx_libs, uselib_store='WXWIDGETS', mandatory=True) |
