diff options
-rw-r--r-- | wscript | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -99,7 +99,8 @@ def build(bld): test_linkflags = [] if bld.env.DEST_OS != 'win32': test_cxxflags = ['-pthread'] - test_linkflags = ['-pthread'] + if bld.env.CXX_NAME != 'clang': + test_linkflags = ['-pthread'] if bld.env.DEST_OS != 'darwin' and bld.env.DEST_OS != 'win32': test_libs += ['rt'] if not bld.env.NO_COVERAGE: |