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
This commit is contained in:
Joshua Strobl 2021-09-19 21:35:23 +02:00 committed by Boris Faure
parent 6cf0f0f07e
commit 2483873333
Signed by: borisfaure
GPG Key ID: 35C0410516166BE8
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ edj_files = []
if get_option('nls') == true
terminology_dependencies += cc.find_library('intl', required: false)
terminology_dependencies += dependency('intl', required: false)
foreach efl_dep: efl_deps