[vlc-commits] [Git][videolan/vlc][master] meson: fixes for OpenBSD and Android
Alexandre Janniaux (@alexandre-janniaux)
gitlab at videolan.org
Wed Mar 12 19:10:16 UTC 2025
Alexandre Janniaux pushed to branch master at VideoLAN / VLC
Commits:
c30713a3 by Brad Smith at 2025-03-12T18:53:30+00:00
meson: fixes for OpenBSD and Android
- - - - -
1 changed file:
- src/meson.build
Changes:
=====================================
src/meson.build
=====================================
@@ -351,27 +351,44 @@ elif host_system == 'windows'
endif
else
libvlccore_sources += [
- 'posix/dirs.c',
- 'posix/error.c',
- 'posix/netconf.c',
- 'posix/spawn.c',
- 'posix/picture.c',
- 'posix/specific.c',
- 'posix/thread.c',
'posix/filesystem.c',
'posix/plugin.c',
'posix/rand.c',
'posix/timer.c',
]
+ if host_system != 'android'
+ libvlccore_sources += [
+ 'posix/dirs.c',
+ 'posix/error.c',
+ 'posix/netconf.c',
+ 'posix/spawn.c',
+ 'posix/picture.c',
+ 'posix/specific.c',
+ 'posix/thread.c',
+ ]
+ endif
+
if cdata.get('HAVE_QSORT_R', 0) == 1
libvlccore_sources += 'posix/sort.c'
endif
- if host_system not in ['linux', 'freebsd']
+ if host_system not in ['android', 'linux', 'freebsd']
libvlccore_sources += 'posix/wait.c'
endif
+ if host_system == 'android'
+ libvlccore_sources += [
+ 'android/error.c',
+ 'android/specific.c',
+ 'android/thread.c',
+
+ 'linux/cpu.c',
+ 'linux/dirs.c',
+ 'linux/thread.c',
+ ]
+ endif
+
if host_system == 'linux'
libvlccore_sources += [
'linux/cpu.c',
@@ -388,28 +405,20 @@ else
]
endif
- if anl_lib.found()
- libvlccore_sources += 'linux/getaddrinfo.c'
- else
- libvlccore_sources += 'posix/getaddrinfo.c'
+ if host_system == 'openbsd'
+ libvlccore_sources += [
+ 'openbsd/cpu.c',
+ 'openbsd/thread.c',
+ ]
endif
-endif
-if host_system == 'android'
- libvlccore_sources += [
- 'linux/cpu.c',
- 'linux/dirs.c',
- 'linux/thread.c',
- 'posix/filesystem.c',
- 'posix/plugin.c',
- 'posix/rand.c',
- 'posix/timer.c',
-
-
- 'android/error.c',
- 'android/specific.c',
- 'android/thread.c',
- ]
+ if host_system != 'android'
+ if anl_lib.found()
+ libvlccore_sources += 'linux/getaddrinfo.c'
+ else
+ libvlccore_sources += 'posix/getaddrinfo.c'
+ endif
+ endif
endif
if get_option('update-check').allowed()
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/c30713a3dd851a8e6cacf642b843353f33a9308b
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/c30713a3dd851a8e6cacf642b843353f33a9308b
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