From 2c75e89c7b5f2b42597b7d2e6ef49109eca6616c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 2 Oct 2008 02:48:09 +0000 Subject: Fix loading of LADSPA and LV2 plugins, and HTTP support (actually build optional components into library). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1586 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/wscript | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'src/engine') diff --git a/src/engine/wscript b/src/engine/wscript index a574ca34..cd7527c1 100644 --- a/src/engine/wscript +++ b/src/engine/wscript @@ -72,9 +72,15 @@ def build(bld): events/SetPortValueEvent.cpp events/UnregisterClientEvent.cpp ''' - obj.includes = ['..', '../common', './events'] - obj.name = 'libingen_engine' - obj.target = 'ingen_engine' - obj.uselib = 'GLIBMM GTHREAD LV2CORE SLV2 JACK LIBLO RAUL REDLANDMM SOUP' - obj.inst_dir = 'lib/ingen' + if bld.env()['HAVE_LADSPA']: + obj.source += ' LADSPANode.cpp ' + if bld.env()['HAVE_SLV2']: + obj.source += ' LV2Node.cpp ' + if bld.env()['HAVE_SOUP']: + obj.source += ' HTTPEngineReceiver.cpp ' + obj.includes = ['..', '../common', './events'] + obj.name = 'libingen_engine' + obj.target = 'ingen_engine' + obj.uselib = 'GLIBMM GTHREAD LV2CORE SLV2 JACK LIBLO RAUL REDLANDMM SOUP' + obj.inst_dir = 'lib/ingen' -- cgit v1.2.1