diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-03-14 16:09:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-03-16 20:09:41 +0100 |
| commit | 7f1a89fce5c87c5328c53d031f24dc979caf56ab (patch) | |
| tree | db8023bdcfe85ea2087906c5026884b867a584f1 /wscript | |
| parent | 6daa16d2893d0c0d9cd8433f3a03f76c76f031de (diff) | |
Build with C++17 also on Debian Unstable.v1.10.15
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -77,9 +77,11 @@ def configure(conf): if vars(conf.options)['c++17']: cpp_std = '17' conf.env.XMLPP_API = '4.0' + conf.env.GLIBMM_API = '2.68' else: cpp_std = '11' conf.env.XMLPP_API = '2.6' + conf.env.GLIBMM_API = '2.4' conf.env.append_value('CXXFLAGS', ['-Wall', '-Wextra', '-D_FILE_OFFSET_BITS=64', '-D__STDC_FORMAT_MACROS', '-std=c++' + cpp_std]) gcc = conf.env['CC_VERSION'] @@ -174,7 +176,7 @@ def configure(conf): conf.env.HAVE_ASDCPLIB_DCPOMATIC = 1 conf.env.STLIB_ASDCPLIB_DCPOMATIC = ['asdcp-dcpomatic', 'kumu-dcpomatic'] conf.env.HAVE_CXML = 1 - conf.env.LIB_CXML = ['xml++-' + conf.env.XMLPP_API, 'glibmm-2.4'] + conf.env.LIB_CXML = ['xml++-' + conf.env.XMLPP_API, 'glibmm-' + conf.env.GLIBMM_API] conf.env.STLIB_CXML = ['cxml'] conf.check_cfg(package='xerces-c', args='--cflags', uselib_store='XERCES', mandatory=True) conf.env.LIB_XERCES = ['xerces-c', 'icuuc', 'curl'] |
