summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-12-15 23:47:39 +0000
committerDavid Robillard <d@drobilla.net>2008-12-15 23:47:39 +0000
commit7a3af911e80db0139ccc5ffd355f56b0a290767d (patch)
tree5ad950928ae552286e8d7e31888fd4566d8e95b0 /wscript
parentc8a89182621aebc9ce5cf65d72a64d08f118fc1b (diff)
downloadlilv-7a3af911e80db0139ccc5ffd355f56b0a290767d.tar.gz
lilv-7a3af911e80db0139ccc5ffd355f56b0a290767d.tar.bz2
lilv-7a3af911e80db0139ccc5ffd355f56b0a290767d.zip
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
Diffstat (limited to 'wscript')
-rw-r--r--wscript9
1 files 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