From d4c5ac4e60cf24ad32584a792f6f9726873536ec Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 23 Mar 2020 01:58:46 +0100 Subject: [PATCH] Cope with nanomsg .pc files being called libnanomsg.pc or nanomsg.pc --- wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wscript b/wscript index 12012ad30..b8253fe6a 100644 --- a/wscript +++ b/wscript @@ -385,7 +385,8 @@ def configure(conf): # nanomsg if conf.options.enable_dist: - conf.check_cfg(package='libnanomsg', args='--cflags --libs', uselib_store='NANOMSG', mandatory=True) + 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) # FFmpeg if conf.options.static_ffmpeg: -- 2.30.2