Add link with anl. centos
authorCarl Hetherington <cth@carlh.net>
Sat, 25 Apr 2020 18:31:27 +0000 (20:31 +0200)
committerCarl Hetherington <cth@carlh.net>
Sat, 25 Apr 2020 18:31:27 +0000 (20:31 +0200)
wscript

diff --git a/wscript b/wscript
index 6451f6b2aca408fea69483649c8dc4409f9e249f..3a4eb54d149e267fc5e1f0b9dd88e39048c2e017 100644 (file)
--- a/wscript
+++ b/wscript
@@ -394,6 +394,8 @@ 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.STLIB_NANOMSG.append('anl')
 
     # FFmpeg
     if conf.options.static_ffmpeg: