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:
parent
6cf0f0f07e
commit
2483873333
|
@ -65,7 +65,7 @@ edj_files = []
|
||||||
|
|
||||||
if get_option('nls') == true
|
if get_option('nls') == true
|
||||||
subdir('po')
|
subdir('po')
|
||||||
terminology_dependencies += cc.find_library('intl', required: false)
|
terminology_dependencies += dependency('intl', required: false)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
foreach efl_dep: efl_deps
|
foreach efl_dep: efl_deps
|
||||||
|
|
Loading…
Reference in New Issue