diff options
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -153,7 +153,8 @@ def configure(conf): if conf.check(cflags=['-pthread'], mandatory=False): conf.env.PTHREAD_CFLAGS = ['-pthread'] - conf.env.PTHREAD_LINKFLAGS = ['-pthread'] + if conf.env.CXX_NAME != 'clang': + conf.env.PTHREAD_LINKFLAGS = ['-pthread'] elif conf.check(linkflags=['-lpthread'], mandatory=False): conf.env.PTHREAD_CFLAGS = [] conf.env.PTHREAD_LINKFLAGS = ['-lpthread'] |