From 7a3af911e80db0139ccc5ffd355f56b0a290767d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 15 Dec 2008 23:47:39 +0000 Subject: Fix (most) include dependencies and resulting broken build problems. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1869 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/wscript b/wscript index 83a6fad..56815a3 100644 --- a/wscript +++ b/wscript @@ -91,8 +91,9 @@ def build(bld): # Library obj = bld.new_task_gen('cc', 'shlib') + obj.export_incdirs = ['.'] obj.source = lib_source - obj.includes = '..' + obj.includes = ['.', './src'] obj.name = 'libslv2' obj.target = 'slv2' obj.vnum = SLV2_LIB_VERSION @@ -103,7 +104,7 @@ def build(bld): if bld.env['BUILD_TESTS']: obj = bld.new_task_gen('cc', 'staticlib') obj.source = lib_source - obj.includes = '..' + obj.includes = ['.', './src'] obj.name = 'libslv2_static' obj.target = 'slv2_static' obj.install_path = '' @@ -117,7 +118,7 @@ def build(bld): for i in utils.split(): obj = bld.new_task_gen('cc', 'program') obj.source = i + '.c' - obj.includes = '.' + obj.includes = ['.', './src'] obj.uselib_local = 'libslv2' obj.target = i obj.install_path = '${BINDIR}' @@ -131,7 +132,7 @@ def build(bld): for i in hosts.split(): obj = bld.new_task_gen('cc', 'program') obj.source = i + '.c' - obj.includes = '.' + obj.includes = ['.', './src'] obj.uselib = 'JACK' obj.uselib_local = 'libslv2' obj.target = i -- cgit v1.2.1