From 806f95bd46bf9f85f837d698e3fbb08bc664a098 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Mon, 30 Dec 2024 09:54:15 +0100 Subject: [PATCH] [meson] -Dgettext=true requires -Dnls=true --- meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meson.build b/meson.build index 093a7c37d..4b4083318 100644 --- a/meson.build +++ b/meson.build @@ -112,6 +112,10 @@ else conf_data.set('CONFIG_ECMASCRIPT', false) endif +if conf_data.get('CONFIG_GETTEXT') and not conf_data.get('CONFIG_NLS') + error('nls must be enabled too') +endif + if conf_data.get('CONFIG_SCRIPTING_SPIDERMONKEY') and not conf_data.get('CONFIG_ECMASCRIPT_SMJS') error('spidermonkey must be enabled too') endif