[vlc-commits] [Git][videolan/vlc][master] meson: fix adding compat/stdbit to the include path

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Jan 9 12:56:55 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
c1de7653 by Steve Lhomme at 2024-01-09T11:37:36+00:00
meson: fix adding compat/stdbit to the include path

We can generate the vlc_include_dirs later, it's only used later in the
meson file.

- - - - -


1 changed file:

- meson.build


Changes:

=====================================
meson.build
=====================================
@@ -94,7 +94,6 @@ if cc.get_id() == 'msvc' or cc.get_id() == 'clang-cl'
     # extra POSIX headers not found in the Windows SDK
     list_inc_dirs += 'compat/windows'
 endif
-vlc_include_dirs = include_directories(list_inc_dirs)
 
 if host_system == 'darwin'
     add_languages('objc', native: false)
@@ -266,8 +265,9 @@ foreach header : check_cpp_headers
 endforeach
 
 if not cdata.has('HAVE_STDBIT_H')
-    vlc_include_dirs += include_directories('compat/stdbit')
+    list_inc_dirs += 'compat/stdbit'
 endif
+vlc_include_dirs = include_directories(list_inc_dirs)
 
 #
 # Darwin specific checks



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/c1de7653ab036a3a6fa5e00a167268a3f076fe1f
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