summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-20 02:02:27 +0000
committerDavid Robillard <d@drobilla.net>2008-10-20 02:02:27 +0000
commit955c64efcf30e87ab3d4bdb1520745c1997f0953 (patch)
tree7237ea80d10bf5a25fec1cb8e870ac55448ca444 /src/engine
parent5e09c3e596c1b0860a996cf8f6023b43d5286a4a (diff)
downloadingen-955c64efcf30e87ab3d4bdb1520745c1997f0953.tar.gz
ingen-955c64efcf30e87ab3d4bdb1520745c1997f0953.tar.bz2
ingen-955c64efcf30e87ab3d4bdb1520745c1997f0953.zip
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
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/ingen.lv2/ingen_lv2.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/ingen.lv2/ingen_lv2.cpp b/src/engine/ingen.lv2/ingen_lv2.cpp
index 4c81c42b..67b63fc5 100644
--- a/src/engine/ingen.lv2/ingen_lv2.cpp
+++ b/src/engine/ingen.lv2/ingen_lv2.cpp
@@ -118,6 +118,8 @@ ingen_instantiate(const LV2_Descriptor* descriptor,
{
IngenPlugin* plugin = (IngenPlugin*)malloc(sizeof(IngenPlugin));
+ Shared::bundle_path = bundle_path;
+
plugin->world = Ingen::Shared::get_world();
plugin->engine = SharedPtr<Engine>(new Engine(plugin->world));
plugin->world->local_engine = plugin->engine;