summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-01-15 12:57:37 +0000
committerCarl Hetherington <cth@carlh.net>2019-01-15 14:19:13 +0000
commitcf99189cba48768308da83cdc544da22f19f3e0d (patch)
treeae61fa2597d1661d884fa9dffd69689751c5fb7e /src
parent5043961f2c1606fc13e1ecadfb42f5c0f1b05866 (diff)
Restore some required wxwidgets bits.
Diffstat (limited to 'src')
-rw-r--r--src/wx/wscript9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/wx/wscript b/src/wx/wscript
index 4ddafc648..1b29b057b 100644
--- a/src/wx/wscript
+++ b/src/wx/wscript
@@ -142,12 +142,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 core,richtext,adv',
+ args='--cppflags --cxxflags --libs %s' % wx_libs,
uselib_store='WXWIDGETS',
mandatory=True)
except:
@@ -156,7 +159,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 core,richtext,adv',
+ args='--cppflags --cxxflags --libs %s' % wx_libs,
uselib_store='WXWIDGETS',
mandatory=True)
except:
@@ -164,7 +167,7 @@ def configure(conf):
conf.check_cfg(msg='Checking for wxWidgets using wx-config',
package='',
path=wx_config,
- args='--cppflags --cxxflags --libs core,richtext,adv',
+ args='--cppflags --cxxflags --libs %s' % wx_libs,
uselib_store='WXWIDGETS',
mandatory=True)