discomfitor pushed a commit to branch enlightenment-0.22.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=e23ac1044b18b8fdf0d43a53d831aebb85dc7881

commit e23ac1044b18b8fdf0d43a53d831aebb85dc7881
Author: Marcel Hollerbach <mar...@osg.samsung.com>
Date:   Sun Dec 3 22:23:44 2017 +0000

    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 0021d1fd6..5f903e985 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

-- 


Reply via email to