summaryrefslogtreecommitdiffstats
path: root/src/gui/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/wscript')
-rw-r--r--src/gui/wscript5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/wscript b/src/gui/wscript
index 860a21a0..c8615198 100644
--- a/src/gui/wscript
+++ b/src/gui/wscript
@@ -43,7 +43,6 @@ def build(bld):
obj.source += 'UploadPatchWindow.cpp'
obj.includes = ['.', '..', '../common']
- obj.defines = 'INGEN_DATA_DIR=\\\"' + Params.g_options.datadir + '\\\"'
obj.name = 'libingen_gui'
obj.target = 'ingen_gui'
obj.inst_dir = 'lib/ingen'
@@ -65,7 +64,7 @@ def build(bld):
''')
# GUI runtime files
- install_files(Params.g_options.datadir, '', 'ingen_gui.glade')
- install_files(Params.g_options.datadir, '', 'ingen.svg')
+ install_files(bld.env()['DATADIR'], 'ingen', 'ingen_gui.glade')
+ install_files(bld.env()['DATADIR'], 'ingen', 'ingen.svg')