From 25f15ff99aa8d6913aa9a7478d86b85de843fbe1 Mon Sep 17 00:00:00 2001 From: maxerba Date: Sun, 5 Dec 2021 12:02:51 +0100 Subject: [PATCH] Fix localization targets currently unable to find libintl as done in the enlightenment package --- meson.build | 4 +--- po/meson.build | 3 ++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/meson.build b/meson.build index b09d4db..0144b0c 100644 --- a/meson.build +++ b/meson.build @@ -118,9 +118,7 @@ subdir('data/sounds') subdir('data/templates') subdir('data/themes/default') subdir('pc') -if have_nls == true - subdir('po') -endif +subdir('po') install_data( sources : 'README', diff --git a/po/meson.build b/po/meson.build index ab3286d..1fe48cf 100644 --- a/po/meson.build +++ b/po/meson.build @@ -13,5 +13,6 @@ if get_option('nls') '--from-code=UTF-8', '--foreign-user' ]) - config_h.set('ENABLE_NLS', '1') + config_h.set('HAVE_GETTEXT', '1') + dep_intl = cc.find_library('intl', required : false) endif