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.
This commit is contained in:
Christoph Reiter 2019-08-10 16:03:44 +02:00
parent 179fdc5239
commit 6e1ceb1a9d

View File

@ -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 = []