From 45aeda7843535505c842b6760df83870704bc1a6 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Sun, 3 Dec 2017 22:23:44 +0000 Subject: [PATCH] build: enable -lintl if we find it otherwise translations are not working --- po/meson.build | 3 +++ src/bin/meson.build | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/po/meson.build b/po/meson.build index 9c1abb1a7..ce4168bd0 100644 --- a/po/meson.build +++ b/po/meson.build @@ -1,3 +1,5 @@ +dep_intl = [] + if get_option('nls') i18n = import('i18n') i18n.gettext('enlightenment', @@ -12,4 +14,5 @@ if get_option('nls') '--foreign-user' ]) config_h.set('HAVE_GETTEXT', '1') + dep_intl = cc.find_library('intl', required : false) endif diff --git a/src/bin/meson.build b/src/bin/meson.build index b06dc0c35..e63114572 100644 --- a/src/bin/meson.build +++ b/src/bin/meson.build @@ -31,7 +31,8 @@ deps_e = [ dep_eio, dep_eldbus, dep_emotion, - dep_elementary + dep_elementary, + dep_intl ] if config_h.has('HAVE_PAM') == true