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
devs/simotek/colorschemes
Joshua Strobl 1 year ago committed by Boris Faure
parent 6cf0f0f07e
commit 2483873333
Signed by: borisfaure
GPG Key ID: 35C0410516166BE8
  1. 2
      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

Loading…
Cancel
Save