summaryrefslogtreecommitdiffstats
path: root/src/engine/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-11-26 00:02:10 +0000
committerDavid Robillard <d@drobilla.net>2010-11-26 00:02:10 +0000
commitd60f8a0fba5dfc10cafadf13a6debed8ba832f24 (patch)
tree0549e89b70c2dfd0ee99627332a031284f42d3ec /src/engine/wscript
parent90229f42853a05df42297d529840a6be2f267aad (diff)
downloadingen-d60f8a0fba5dfc10cafadf13a6debed8ba832f24.tar.gz
ingen-d60f8a0fba5dfc10cafadf13a6debed8ba832f24.tar.bz2
ingen-d60f8a0fba5dfc10cafadf13a6debed8ba832f24.zip
Install all ingen modules to ${LIBDIR} instead of ${LIBDIR}/ingen so dynamic linker can find dependent libraries.
(Previous scheme doesn't build on OSX, this way is probably better anyway, though perhaps they should all be versioned...) git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2672 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/wscript')
-rw-r--r--src/engine/wscript12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/engine/wscript b/src/engine/wscript
index 2d7b8cef..a37b69b3 100644
--- a/src/engine/wscript
+++ b/src/engine/wscript
@@ -63,14 +63,14 @@ def build(bld):
core_source += ' LADSPAPlugin.cpp LADSPANode.cpp '
if bld.env['HAVE_SLV2'] == 1:
core_source += ' LV2Info.cpp LV2Plugin.cpp LV2Node.cpp '
-
+
obj = bld.new_task_gen('cxx', 'shlib')
obj.source = core_source
obj.export_incdirs = ['.']
obj.includes = ['.', '..', '../..', '../common']
obj.name = 'libingen_engine'
obj.target = 'ingen_engine'
- obj.install_path = '${LIBDIR}/ingen'
+ obj.install_path = '${LIBDIR}'
obj.uselib_local = 'libingen_shared'
core_libs = 'GLIBMM GTHREAD LV2CORE SLV2 RAUL REDLANDMM'
autowaf.use_lib(bld, obj, core_libs)
@@ -87,7 +87,7 @@ def build(bld):
obj.includes = ['.', '..', '../..', '../common', '../engine']
obj.name = 'libingen_http'
obj.target = 'ingen_http'
- obj.install_path = '${LIBDIR}/ingen'
+ obj.install_path = '${LIBDIR}'
autowaf.use_lib(bld, obj, core_libs + ' SOUP')
if bld.env['HAVE_LIBLO'] == 1:
@@ -103,7 +103,7 @@ def build(bld):
obj.includes = ['.', '..', '../..', '../common', '../engine']
obj.name = 'libingen_osc'
obj.target = 'ingen_osc'
- obj.install_path = '${LIBDIR}/ingen'
+ obj.install_path = '${LIBDIR}'
autowaf.use_lib(bld, obj, core_libs + ' LIBLO')
if bld.env['HAVE_JACK'] == 1:
@@ -113,7 +113,7 @@ def build(bld):
obj.includes = ['.', '..', '../..', '../common', '../engine']
obj.name = 'libingen_jack'
obj.target = 'ingen_jack'
- obj.install_path = '${LIBDIR}/ingen'
+ obj.install_path = '${LIBDIR}'
obj.uselib_local = 'libingen_engine'
autowaf.use_lib(bld, obj, core_libs + ' JACK')
@@ -124,7 +124,7 @@ def build(bld):
obj.includes = ['.', '..', '../..', '../common']
obj.name = 'libingen_lv2'
obj.target = 'ingen_lv2'
- obj.install_path = '${LIBDIR}/ingen'
+ obj.install_path = '${LIBDIR}'
obj.uselib_local = 'libingen_shared libingen_module'
obj.add_objects = 'libingen_engine'
autowaf.use_lib(bld, obj, core_libs)