diff options
Diffstat (limited to 'tests/wscript')
-rw-r--r-- | tests/wscript | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/wscript b/tests/wscript index daf94ceb..fcccc3b1 100644 --- a/tests/wscript +++ b/tests/wscript @@ -14,7 +14,10 @@ def build(bld): for test_program, test_program_sources in test_programs.items(): prog = bld.create_obj('cpp', 'program') prog.features.append('cc') - prog.includes = ['../macosx', '../common/jack', '../common'] + if bld.env()['IS_MACOSX']: + prog.includes = ['../macosx', '../posix', '../common/jack', '../common'] + if bld.env()['IS_LINUX']: + prog.includes = ['../linux', '../posix', '../common/jack', '../common'] prog.source = test_program_sources if bld.env()['IS_LINUX']: prog.uselib = 'RT' |