From 955c64efcf30e87ab3d4bdb1520745c1997f0953 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 20 Oct 2008 02:02:27 +0000 Subject: Make Ingen and Patchage relocatable binaries when built as a bundle. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1690 a436a847-0d15-0410-975c-d299462d15a1 --- src/module/Module.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/module') 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 #include #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) { -- cgit v1.2.1