diff options
Diffstat (limited to 'src/module')
-rw-r--r-- | src/module/Module.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/module/Module.cpp b/src/module/Module.cpp index 2f143443..a42e466b 100644 --- a/src/module/Module.cpp +++ b/src/module/Module.cpp @@ -22,6 +22,7 @@ #include <glibmm/miscutils.h> #include <glibmm/fileutils.h> #include "raul/SharedPtr.hpp" +#include "shared/runtime_paths.hpp" #include "config.h" using namespace std; @@ -66,7 +67,7 @@ load_module(const string& name) // Try default directory if not found module = new Glib::Module( - Glib::Module::build_path(INGEN_MODULE_DIR, name), + Shared::module_path(name), Glib::MODULE_BIND_LAZY); if (*module) { |