[vlc-commits] [Git][videolan/vlc][master] meson: allow iconv library to be missing

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Dec 5 10:05:52 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
43acef45 by Steve Lhomme at 2024-12-05T09:51:19+00:00
meson: allow iconv library to be missing

The code allows not having iconv at all.

Ref. #28893

- - - - -


1 changed file:

- meson.build


Changes:

=====================================
meson.build
=====================================
@@ -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



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/43acef454c96a9fd6efdb028f8f063f09f7724f3

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/43acef454c96a9fd6efdb028f8f063f09f7724f3
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list