summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript b/wscript
index f9f9b25..b013c2f 100644
--- a/wscript
+++ b/wscript
@@ -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: