Add link with anl to fix Centos 8 build. v2.15.59
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 20:06:57 +0000 (22:06 +0200)
wscript

diff --git a/wscript b/wscript
index 6451f6b2aca408fea69483649c8dc4409f9e249f..bee03cb0cc1d94a4f856546124940e5e5c19545b 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.LIB_NANOMSG.append('anl')
 
     # FFmpeg
     if conf.options.static_ffmpeg: