summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-10-17 13:05:19 +0200
committerDavid Robillard <d@drobilla.net>2019-10-17 13:05:19 +0200
commit17403d55096e752b19fdecb5661717ccabf143ad (patch)
treec77c27e08a9295e602142a6bec86dfda4483bc68 /wscript
parent27519dafa7f5bdc122007f7d7c4cd175d1e049c6 (diff)
downloadsord-17403d55096e752b19fdecb5661717ccabf143ad.tar.gz
sord-17403d55096e752b19fdecb5661717ccabf143ad.tar.bz2
sord-17403d55096e752b19fdecb5661717ccabf143ad.zip
Remove use of autowaf.define
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/wscript b/wscript
index 4e8ebde..332bb3c 100644
--- a/wscript
+++ b/wscript
@@ -73,11 +73,11 @@ def configure(conf):
dump = Options.options.dump.split(',')
all = 'all' in dump
if all or 'iter' in dump:
- autowaf.define(conf, 'SORD_DEBUG_ITER', 1)
+ conf.define('SORD_DEBUG_ITER', 1)
if all or 'search' in dump:
- autowaf.define(conf, 'SORD_DEBUG_SEARCH', 1)
+ conf.define('SORD_DEBUG_SEARCH', 1)
if all or 'write' in dump:
- autowaf.define(conf, 'SORD_DEBUG_WRITE', 1)
+ conf.define('SORD_DEBUG_WRITE', 1)
autowaf.set_lib_env(conf, 'sord', SORD_VERSION)
conf.write_config_header('sord_config.h', remove=False)