summaryrefslogtreecommitdiff
path: root/src/wx/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/wscript')
-rw-r--r--src/wx/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wx/wscript b/src/wx/wscript
index 8430b5844..89a02a3c6 100644
--- a/src/wx/wscript
+++ b/src/wx/wscript
@@ -180,6 +180,9 @@ def configure(conf):
uselib_store='WXWIDGETS',
mandatory=True)
+ if conf.env.TARGET_LINUX:
+ conf.env.append_value('CXXFLAGS', ['-DGLX_GLXEXT_PROTOTYPES'])
+
if conf.options.static_wxwidgets:
# wx-config returns its static libraries as full paths, without -l prefixes, which confuses
# check_cfg(). It puts the static libraries into LINKFLAGS_WXWIDGETS, so fish them out.