summaryrefslogtreecommitdiff
path: root/glib/meson.build
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2019-08-10 16:45:31 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2019-08-20 17:19:26 +0200
commit26f7104d792baa279712cf27ce3acfd30a1d74ca (patch)
tree261ebd788a521c4f2c9e8852cb9aa84a5df35237 /glib/meson.build
parent271e283881b96a3c866ae5bb992cbb15708c80da (diff)
downloadglib-26f7104d792baa279712cf27ce3acfd30a1d74ca.tar.gz
meson: small cleanup for printf checks
Instead of duplicating checks add a use_system_printf meson variable and macro and use them everywhere.
Diffstat (limited to 'glib/meson.build')
-rw-r--r--glib/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/meson.build b/glib/meson.build
index dac28c06d..91a48f194 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 and have_good_printf
+if use_system_printf
gnulib_lib = []
gnulib_objects = []
gnulib_libm_dependency = []