summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-05-24 09:12:27 +0100
committerCarl Hetherington <cth@carlh.net>2016-05-24 09:12:27 +0100
commit41e23ec653a771f76f8c2c8addb8724e7026f55a (patch)
tree4ca2efa93646aa7b5749a1052382ee20f4bd8c3e /wscript
parent490f2656edede9c0fdcf5d8bc17329822c648038 (diff)
Try to fix centos 6/7 build.
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 3 insertions, 2 deletions
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']