summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-08-15 11:53:39 +0200
committerCarl Hetherington <cth@carlh.net>2024-08-15 13:46:05 +0200
commit523c3d002dace8b25df82a23890090306277fab3 (patch)
tree08a83866a3064278f8fc22c572b913d66e145231 /wscript
parented52b561b8cc0a1a7d08855380486bf8a807dc19 (diff)
Fix --static-xmlsec option and use it for Centos 9 (#2858).
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/wscript b/wscript
index d418ab6f4..83b69bd31 100644
--- a/wscript
+++ b/wscript
@@ -383,8 +383,10 @@ def configure(conf):
if conf.options.static_xmlsec:
if conf.check_cxx(lib='xmlsec1-openssl', mandatory=False):
conf.env.STLIB_XMLSEC = ['xmlsec1-openssl', 'xmlsec1']
+ conf.env.LIB_XMLSEC = ['ltdl']
else:
conf.env.STLIB_XMLSEC = ['xmlsec1']
+ conf.env.LIB_XMLSEC = ['ltdl']
else:
conf.env.LIB_XMLSEC = ['xmlsec1-openssl', 'xmlsec1']