Skip to content
Snippets Groups Projects
Commit 43acef45 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

meson: allow iconv library to be missing

The code allows not having iconv at all.

Ref. #28893
parent acea10bf
No related branches found
No related tags found
1 merge request!6460meson: allow iconv library to be missing
Pipeline #541603 passed with stage
in 18 minutes and 32 seconds
......@@ -173,7 +173,7 @@ iconv_dep = dependency('iconv', required: false)
if not iconv_dep.found()
# check in contribs
if cc.has_function('iconv_open', prefix: vlc_conf_prefix + '#include <iconv.h>',
dependencies: [contrib_dep, cc.find_library('iconv', dirs: contrib_libdir)])
dependencies: [contrib_dep, cc.find_library('iconv', dirs: contrib_libdir, required: false)])
iconv_dep = declare_dependency(
dependencies: [contrib_dep, cc.find_library('iconv', dirs: contrib_libdir)])
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment