1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2026-01-26 21:41:34 +03:00

meson: Fix build with Meson < 1.3

Meson before 1.3 didn't support comma-separated lists in c_std.  Just
require c11 in that case.
This commit is contained in:
Benjamin Gilbert
2025-11-17 14:02:34 -08:00
committed by Daniel Garcia Moreno
parent 8c5e54d5bd
commit b20dfb007d

View File

@@ -4,7 +4,7 @@ project(
version: files('VERSION'),
license: 'MIT',
default_options: [
'c_std=c11,c99,c89',
meson.version().version_compare('>=1.3.0') ? 'c_std=c11,c99,c89' : 'c_std=c11',
'buildtype=debug',
'warning_level=3',
],