summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
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