diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-06-03 01:28:57 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-06-03 01:28:57 +0100 |
| commit | 5495f1b4a9898526da6786b8161bb398d5cfe5bd (patch) | |
| tree | c3dd3ddb4419b137c5852e6181fbca3352840f1b /src/wx/wscript | |
| parent | b0bec103eaaebfbc0b6f90f9b3e7ac8c32f2707e (diff) | |
Try to enable vsync with GL on Linux.
Diffstat (limited to 'src/wx/wscript')
| -rw-r--r-- | src/wx/wscript | 3 |
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. |
