From 2483873333b8c7835326b9ddea83dd46a7969ad1 Mon Sep 17 00:00:00 2001 From: Joshua Strobl Date: Sun, 19 Sep 2021 21:35:23 +0200 Subject: [PATCH] Switch to using explicit dependency func instead of using find_library Summary: This fixes intl detection (under Solus, x86_64-solus-linux-gcc (Solus) 11.2.0). Test Plan: 1. Compiled terminology without patch, failed to find intl and would not include gettext po files. 2. Compiled with patch, successfully found intl. Tested against efl 1.25.1 with terminology 1.9.0. Meson release is 1.59.1. Subscribers: EbonJaeger Differential Revision: https://phab.enlightenment.org/D12291 --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 12d3e91d..4e30488b 100644 --- a/meson.build +++ b/meson.build @@ -65,7 +65,7 @@ edj_files = [] if get_option('nls') == true subdir('po') - terminology_dependencies += cc.find_library('intl', required: false) + terminology_dependencies += dependency('intl', required: false) endif foreach efl_dep: efl_deps