From 6ea98076910355c1d96a12b8b7d1448cd232cc4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Bonithon?= <gael@xfce.org> Date: Fri, 17 Jan 2025 11:14:05 +0100 Subject: [PATCH] meson-build: Check for libintl only if required This speeds up the build _somewhat_ and avoids a red "NO" in text output, which needlessly raises questions. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index c2ede21..b72ebcb 100644 --- a/meson.build +++ b/meson.build @@ -82,10 +82,10 @@ foreach function : functions endif endforeach -libintl = cc.find_library('intl', required: false) need_libintl = false has_bind_textdomain_codeset = cc.has_function('bind_textdomain_codeset') if not has_bind_textdomain_codeset + libintl = cc.find_library('intl', required: false) if libintl.found() has_bind_textdomain_codeset = cc.has_function( 'bind_textdomain_codeset', -- GitLab