[vlc-commits] [Git][videolan/vlc][master] meson: fix build when nls is disabled

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed Jun 3 08:24:37 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
73605f79 by Steve Lhomme at 2026-06-03T08:07:11+00:00
meson: fix build when nls is disabled

intl_dep ended up being disabled, resulting in vlccore not being built.
Regression from d75156854414dcb39814b02d515726a030ea9907.

- - - - -


1 changed file:

- meson.build


Changes:

=====================================
meson.build
=====================================
@@ -223,14 +223,14 @@ if get_option('nls').allowed()
         # check in contribs
         intl_dep = cc.find_library('intl', dirs: contrib_libdir, required: get_option('nls'))
     endif
-else
-    intl_dep = disabler()
-endif
-if intl_dep.found()
-    cdata.set('HAVE_GETTEXT', 1)
-    cdata.set('ENABLE_NLS', 1)
+    if intl_dep.found()
+        cdata.set('HAVE_GETTEXT', 1)
+        cdata.set('ENABLE_NLS', 1)
 
-    subdir('po')
+        subdir('po')
+    endif
+else
+    intl_dep = declare_dependency()
 endif
 
 # Domain name i18n support via GNU libidn



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/73605f797ead8978b1e4447791dfe62feb146331

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/73605f797ead8978b1e4447791dfe62feb146331
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list