From 669ad7720ef7a82c974bb082db4f9685f4286ffe Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Sat, 15 Oct 2022 10:45:15 +0300 Subject: [PATCH] build: add explicit check for charconv Some older Apple compilers don't have it; error out early. Fixes #2347. --- meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index d9ac125c..7c54591f 100644 --- a/meson.build +++ b/meson.build @@ -78,7 +78,9 @@ foreach extra_arg : extra_flags endif endforeach - +# some clang don't have charconv, but we need it. +# https://github.com/djcb/mu/issues/2347 +cxx.check_header('charconv', required:true) ################################################################################ # config.h setup