aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/wscript2
-rw-r--r--wscript2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/wscript b/src/gui/wscript
index 3e1ecff..be8e216 100644
--- a/src/gui/wscript
+++ b/src/gui/wscript
@@ -37,6 +37,6 @@ def build(bld):
obj.target = 'machina_gui'
obj.source = 'main.cpp'
obj.includes = ['.', '../..', '../engine']
- obj.defines = 'VERSION="' + bld.env['MACHINA_VERSION'] + '"'
+ obj.defines = 'VERSION="' + bld.env.MACHINA_VERSION + '"'
obj.use = 'libmachina_engine libmachina_gui'
autowaf.use_lib(bld, obj, 'GTHREAD GLIBMM SORD RAUL MACHINA EUGENE GANV')
diff --git a/wscript b/wscript
index af6fd18..b386720 100644
--- a/wscript
+++ b/wscript
@@ -52,7 +52,7 @@ def configure(conf):
autowaf.define(conf, 'MACHINA_PPQN', 19200)
autowaf.define(conf, 'MACHINA_VERSION', MACHINA_VERSION)
autowaf.define(conf, 'MACHINA_DATA_DIR', os.path.join(
- conf.env['DATADIR'], 'machina'))
+ conf.env.DATADIR, 'machina'))
conf.write_config_header('machina_config.h', remove=False)