diff options
author | David Robillard <d@drobilla.net> | 2017-03-20 18:56:45 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-03-20 18:56:45 +0100 |
commit | 1453cdcceedf1f368b6a0835e84c33f7c3d0f09f (patch) | |
tree | 093a245e9bc351102379f36ae902192b5b3db917 /wscript | |
parent | 8f13d4d5bb46a748fb6aa76ce080d4d22ce45e21 (diff) | |
download | ingen-1453cdcceedf1f368b6a0835e84c33f7c3d0f09f.tar.gz ingen-1453cdcceedf1f368b6a0835e84c33f7c3d0f09f.tar.bz2 ingen-1453cdcceedf1f368b6a0835e84c33f7c3d0f09f.zip |
Fix link warnings with clang on OSX
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -159,7 +159,8 @@ def configure(conf): if conf.check(cflags=['-pthread'], mandatory=False): conf.env.PTHREAD_CFLAGS = ['-pthread'] if conf.check(linkflags=['-pthread'], mandatory=False): - conf.env.PTHREAD_LINKFLAGS += ['-pthread'] + if not (conf.env.DEST_OS == 'darwin' and conf.env.CXX_NAME == 'clang'): + conf.env.PTHREAD_LINKFLAGS += ['-pthread'] if conf.check(linkflags=['-lpthread'], mandatory=False): conf.env.PTHREAD_LINKFLAGS += ['-lpthread'] |