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/engine/ingen.lv2/ingen_lv2.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/engine/ingen.lv2') 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(new Engine(plugin->world)); plugin->world->local_engine = plugin->engine; -- cgit v1.2.1