summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-26 00:42:01 +0200
committerCarl Hetherington <cth@carlh.net>2020-04-26 00:42:01 +0200
commit3048281bb184fa8011beefeedca83fc2b2778fbf (patch)
tree54a10fbc38a897b54cdec571b687cb75269d8fa4 /wscript
parent73f12506b092200418ce20d9ec70bf646d248f5d (diff)
Fix previous on Windows/macOS.v2.15.60
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 3 insertions, 2 deletions
diff --git a/wscript b/wscript
index bee03cb0c..86c65ad74 100644
--- a/wscript
+++ b/wscript
@@ -394,8 +394,9 @@ def configure(conf):
if conf.options.enable_disk:
if conf.check_cfg(package='nanomsg', args='--cflags --libs', uselib_store='NANOMSG', mandatory=False) is None:
conf.check_cfg(package='libnanomsg', args='--cflags --libs', uselib_store='NANOMSG', mandatory=True)
- # We link with nanomsg statically on Centos 8 so we need to link this as well
- conf.env.LIB_NANOMSG.append('anl')
+ if conf.env.TARGET_LINUX:
+ # We link with nanomsg statically on Centos 8 so we need to link this as well
+ conf.env.LIB_NANOMSG.append('anl')
# FFmpeg
if conf.options.static_ffmpeg: