meson.build: use dependency() & cc.find_library() to find intl
This commit is contained in:
parent
280b8c143f
commit
a6b654ea83
|
@ -65,7 +65,9 @@ edj_files = []
|
||||||
|
|
||||||
if get_option('nls') == true
|
if get_option('nls') == true
|
||||||
subdir('po')
|
subdir('po')
|
||||||
terminology_dependencies += dependency('intl', required: true)
|
# 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)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
foreach efl_dep: efl_deps
|
foreach efl_dep: efl_deps
|
||||||
|
|
Loading…
Reference in New Issue