From d4fad3ec5cf509406cbfcf379c828d77b0e67d7c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 14 Jan 2012 19:35:24 +0000 Subject: Fix broken link to engine library in saved bundles (fix #806). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3944 a436a847-0d15-0410-975c-d299462d15a1 --- src/serialisation/Serialiser.cpp | 2 +- src/server/wscript | 15 +++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp index 84e05022..faf95c09 100644 --- a/src/serialisation/Serialiser.cpp +++ b/src/serialisation/Serialiser.cpp @@ -166,7 +166,7 @@ Serialiser::Impl::write_manifest(const std::string& bundle_path, Sord::Curie(world, "lv2:binary"), Sord::URI(world, binary_path)); - symlink(Glib::Module::build_path(INGEN_MODULE_DIR, "ingen_lv2").c_str(), + symlink(Glib::Module::build_path(INGEN_BUNDLE_DIR, "ingen_lv2").c_str(), Glib::Module::build_path(bundle_path, "ingen_lv2").c_str()); finish(); diff --git a/src/server/wscript b/src/server/wscript index 04731313..2a5e687f 100644 --- a/src/server/wscript +++ b/src/server/wscript @@ -76,12 +76,11 @@ def build(bld): autowaf.use_lib(bld, obj, core_libs + ' JACK') # Ingen LV2 wrapper - obj = bld(features = 'cxx cxxshlib', - source = ' ingen_lv2.cpp ', - includes = ['.', '../..', '../../include'], - name = 'libingen_lv2', - target = 'ingen_lv2', - #install_path = '${LIBDIR}', - install_path = '${LV2DIR}/ingen.lv2/', - use = 'libingen_server libingen_shared') + obj = bld(features = 'cxx cxxshlib', + source = ' ingen_lv2.cpp ', + includes = ['.', '../..', '../../include'], + name = 'libingen_lv2', + target = 'ingen_lv2', + install_path = '${LV2DIR}/ingen.lv2/', + use = 'libingen_server libingen_shared') autowaf.use_lib(bld, obj, core_libs) -- cgit v1.2.1