summaryrefslogtreecommitdiffstats
path: root/src/module
diff options
context:
space:
mode:
Diffstat (limited to 'src/module')
-rw-r--r--src/module/Module.cpp5
-rw-r--r--src/module/wscript2
2 files changed, 2 insertions, 5 deletions
diff --git a/src/module/Module.cpp b/src/module/Module.cpp
index 16aecb66..2f143443 100644
--- a/src/module/Module.cpp
+++ b/src/module/Module.cpp
@@ -22,10 +22,7 @@
#include <glibmm/miscutils.h>
#include <glibmm/fileutils.h>
#include "raul/SharedPtr.hpp"
-
-#ifndef INGEN_MODULE_DIR
-#error This file expects INGEN_MODULE_DIR to be defined.
-#endif
+#include "config.h"
using namespace std;
diff --git a/src/module/wscript b/src/module/wscript
index b18b39b5..ee6545cc 100644
--- a/src/module/wscript
+++ b/src/module/wscript
@@ -9,10 +9,10 @@ def build(bld):
global.cpp
'''
obj.includes = ['.', '..', '../common']
- obj.defines = 'INGEN_MODULE_DIR=\\\"' + bld.env()['PREFIX'] + 'lib/ingen\\\"'
obj.name = 'libingen_module'
obj.target = 'ingen_module'
obj.vnum = '0.0.0'
obj.uselib_local = 'libingen_shared'
+ obj.inst_dir = bld.env()['LIBDIRNAME']
autowaf.use_lib(bld, obj, 'GLIBMM LV2CORE SLV2 RAUL REDLANDMM')