billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=f11b69882808251577938fe8d520de4ad41a896c

commit f11b69882808251577938fe8d520de4ad41a896c
Author: Boris Faure <[email protected]>
Date:   Wed Sep 29 21:37:21 2021 +0200

    meson: fix libintl detection
    
    Related to D12291
---
 meson.build | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/meson.build b/meson.build
index 9077774..74158bb 100644
--- a/meson.build
+++ b/meson.build
@@ -66,8 +66,12 @@ edj_files = []
 if get_option('nls') == true
   subdir('po')
   # need both cause libintl may be included in glibc or not
-  terminology_dependencies += dependency('intl', required: false)
-  terminology_dependencies += cc.find_library('intl', required: false)
+  dep = dependency('intl', required: false)
+  if dep.found()
+    terminology_dependencies += dep
+  else
+    terminology_dependencies += cc.find_library('intl', required: false)
+  endif
 endif
 
 foreach efl_dep: efl_deps

-- 


Reply via email to