mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-21 04:52:11 +02:00
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:
parent
179fdc5239
commit
6e1ceb1a9d
@ -12,7 +12,7 @@ endif
|
|||||||
# <https://github.com/mesonbuild/meson/issues/3937>. When we can depend
|
# <https://github.com/mesonbuild/meson/issues/3937>. When we can depend
|
||||||
# on a meson version where those are fixed, revert the commit that
|
# on a meson version where those are fixed, revert the commit that
|
||||||
# introduced this workaround.
|
# 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_lib = []
|
||||||
gnulib_objects = []
|
gnulib_objects = []
|
||||||
gnulib_libm_dependency = []
|
gnulib_libm_dependency = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user