aboutsummaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-11 21:07:16 +0200
committerDavid Robillard <d@drobilla.net>2018-09-11 21:08:28 +0200
commitfb674c729ac1fcf464cac8b077be4d096282ac8f (patch)
treef16c0dbe2c48215e9113abd3db46f0969145aab0 /wscript
parent62dcd3f33c7f8ba0f5694cc88b36f685463dac5b (diff)
Switch to bundled source waf
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index 349ee14..50a9429 100644
--- a/wscript
+++ b/wscript
@@ -42,13 +42,13 @@ def options(opt):
help='Work around reparent keyboard issues by grabbing focus')
def configure(conf):
- conf.env.TARGET_PLATFORM = Options.options.target or Options.platform
+ conf.env.TARGET_PLATFORM = Options.options.target or sys.platform
conf.load('compiler_c')
if conf.env.TARGET_PLATFORM == 'win32':
conf.load('compiler_cxx')
autowaf.configure(conf)
- autowaf.set_c99_mode(conf)
+ autowaf.set_c_lang(conf, 'c99')
autowaf.display_header('Pugl Configuration')
if not Options.options.no_gl: