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:
committed by
Daniel Garcia Moreno
parent
8c5e54d5bd
commit
b20dfb007d
@@ -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',
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user