summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-01-14 19:35:24 +0000
committerDavid Robillard <d@drobilla.net>2012-01-14 19:35:24 +0000
commitd4fad3ec5cf509406cbfcf379c828d77b0e67d7c (patch)
tree9e4d53550ace8481045a28e5559b0def4816f0ff /src
parentae3f0b93049194bdefefd6226d5080cf28f5d67a (diff)
downloadingen-d4fad3ec5cf509406cbfcf379c828d77b0e67d7c.tar.gz
ingen-d4fad3ec5cf509406cbfcf379c828d77b0e67d7c.tar.bz2
ingen-d4fad3ec5cf509406cbfcf379c828d77b0e67d7c.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/serialisation/Serialiser.cpp2
-rw-r--r--src/server/wscript15
2 files changed, 8 insertions, 9 deletions
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)