[pango/kill-pango-script] Fix building glib as subproject



commit 0b45000de8d31ca8cfe6b44f9f0ac309db5899dc
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat May 25 12:06:24 2019 -0400

    Fix building glib as subproject
    
    This is necessary now, since we bumped the glib req
    beyond what the stable gnom eruntime currently
    provides.

 meson.build | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index c9bf217e..db073d6a 100644
--- a/meson.build
+++ b/meson.build
@@ -4,7 +4,9 @@ project('pango', 'c', 'cpp',
         default_options: [
           'buildtype=debugoptimized',
           'warning_level=1',
-          'c_std=c99',
+          # We only need c99, but glib needs GNU-specific features
+          # https://github.com/mesonbuild/meson/issues/2289
+          'c_std=gnu99',
         ],
         meson_version : '>= 0.48.0')
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]