maxerba pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=25f15ff99aa8d6913aa9a7478d86b85de843fbe1

commit 25f15ff99aa8d6913aa9a7478d86b85de843fbe1
Author: maxerba <maiur...@gmail.com>
Date:   Sun Dec 5 12:02:51 2021 +0100

    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

-- 


Reply via email to