diff options
author | David Robillard <d@drobilla.net> | 2016-09-05 20:23:05 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-09-05 20:23:05 -0400 |
commit | f1248a8dd3a6e67cd0e61e66ea92ad54b4b2b20b (patch) | |
tree | c360aa4e12200b8752b3577daa15c1c2c7183390 /wscript | |
parent | 67d9bb847d8f77cf7c2f4156dff21fc1ace264c7 (diff) | |
download | raul-f1248a8dd3a6e67cd0e61e66ea92ad54b4b2b20b.tar.gz raul-f1248a8dd3a6e67cd0e61e66ea92ad54b4b2b20b.tar.bz2 raul-f1248a8dd3a6e67cd0e61e66ea92ad54b4b2b20b.zip |
Fix thread compilation on some systems
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -94,9 +94,12 @@ def build(bld): framework = ' CoreServices ' if bld.env.BUILD_TESTS: - test_libs = ['pthread'] + test_libs = [] test_cxxflags = [] test_linkflags = [] + if bld.env.DEST_OS != 'win32': + test_cxxflags = ['-pthread'] + test_linkflags = ['-pthread'] if bld.env.DEST_OS != 'darwin' and bld.env.DEST_OS != 'win32': test_libs += ['rt'] if not bld.env.NO_COVERAGE: |