From 41e23ec653a771f76f8c2c8addb8724e7026f55a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 24 May 2016 09:12:27 +0100 Subject: Try to fix centos 6/7 build. --- wscript | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index ae717383d..d735e8c8d 100644 --- a/wscript +++ b/wscript @@ -300,9 +300,10 @@ def configure(conf): # libxmlsec if conf.options.static_xmlsec: - conf.env.STLIB_XMLSEC = ['xmlsec1'] if conf.check_cxx(lib='xmlsec1-openssl', mandatory=False): - conf.env.STLIB_XMLSEC.append('xmlsec1-openssl') + conf.env.STLIB_XMLSEC = ['xmlsec1-openssl', 'xmlsec1'] + else: + conf.env.STLIB_XMLSEC = ['xmlsec1'] else: conf.env.LIB_XMLSEC = ['xmlsec1-openssl', 'xmlsec1'] -- cgit v1.2.3