diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-08-15 11:53:39 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-08-15 13:46:05 +0200 |
| commit | 523c3d002dace8b25df82a23890090306277fab3 (patch) | |
| tree | 08a83866a3064278f8fc22c572b913d66e145231 | |
| parent | ed52b561b8cc0a1a7d08855380486bf8a807dc19 (diff) | |
Fix --static-xmlsec option and use it for Centos 9 (#2858).
| -rw-r--r-- | cscript | 2 | ||||
| -rw-r--r-- | wscript | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -574,6 +574,8 @@ def configure_options(target, options, for_package=False): opt += ' --static-boost --static-xmlpp' elif target.version == '7': opt += ' --workaround-gssapi' + elif target.version == 'stream9': + opt += ' --static-xmlsec' if not options['gui']: opt += ' --disable-gui' @@ -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'] |
