summaryrefslogtreecommitdiffstats
path: root/src/module/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/module/wscript')
-rw-r--r--src/module/wscript5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/module/wscript b/src/module/wscript
index bdcbebc9..044f57ed 100644
--- a/src/module/wscript
+++ b/src/module/wscript
@@ -2,16 +2,15 @@
import Params
def build(bld):
- dir = Params.g_options.moduledir or bld.env()['PREFIX'] + 'lib'
obj = bld.create_obj('cpp', 'shlib')
obj.source = '''
Module.cpp
global.cpp
'''
obj.includes = ['..', '../common']
- obj.defines = 'INGEN_MODULE_DIR=\\\"' + dir + '\\\"'
+ obj.defines = 'INGEN_MODULE_DIR=\\\"' + bld.env()['PREFIX'] + 'lib/ingen/\\\"'
obj.name = 'libingen_module'
obj.target = 'ingen_module'
- obj.uselib = 'GLIBMM SLV2 RAUL REDLANDMM'
obj.vnum = '0.0.0'
+ obj.uselib = 'GLIBMM SLV2 RAUL REDLANDMM'