[glib: 1/2] meson: build gnulib if printf isn't good enough



commit 6e1ceb1a9dc795499f364be7f8cc423021a92918
Author: Christoph Reiter <reiter christoph gmail com>
Date:   Sat Aug 10 16:03:44 2019 +0200

    meson: build gnulib if printf isn't good enough
    
    We currently check in multiple places if vsnprintf/snprintf/printf are
    good and if not use gnulib. This case was not checking for printf which
    made the build fail with recent mingw-w64 where snprintf was improved to
    pass all glib checks but printf still doesn't.

 glib/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/meson.build b/glib/meson.build
index 6bf678247..dac28c06d 100644
--- a/glib/meson.build
+++ b/glib/meson.build
@@ -12,7 +12,7 @@ endif
 # <https://github.com/mesonbuild/meson/issues/3937>. When we can depend
 # on a meson version where those are fixed, revert the commit that
 # introduced this workaround.
-if have_good_vsnprintf and have_good_snprintf
+if have_good_vsnprintf and have_good_snprintf and have_good_printf
   gnulib_lib = []
   gnulib_objects = []
   gnulib_libm_dependency = []


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