summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-07-06 21:48:01 +0200
committerCarl Hetherington <cth@carlh.net>2024-07-06 21:48:01 +0200
commit3317a9b30752e2e311e7bfe36a8ce8201b07636a (patch)
treebeb12e51bab665f17f04f9aea503dd4ca2311d16 /wscript
parent5696315078be7a3f61763690ddc201c558ddcd5a (diff)
parentfefcccd526bd4cf12dfdf43ce36ccb62b044528e (diff)
Merge remote-tracking branch 'origin/main' into v2.17.x
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/wscript b/wscript
index a92668ee0..79c369a9c 100644
--- a/wscript
+++ b/wscript
@@ -285,6 +285,10 @@ def configure(conf):
lib=['icuio', 'icui18n', 'icudata', 'icuuc'],
uselib_store='ICU')
+ # For ICU version > 75 we need stdc++17
+ if conf.check_cfg(modversion='icu-i18n') >= '75':
+ conf.env.append_value('CXXFLAGS', '-std=c++17')
+
# libsamplerate
conf.check_cfg(package='samplerate', args='--cflags --libs', uselib_store='SAMPLERATE', mandatory=True)