[vlc-commits] [Git][videolan/vlc][master] macosx: add posix/spawn support on macosx
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Tue Dec 24 09:12:58 UTC 2024
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
1e70019a by Gabriel Lafond-Thenaille at 2024-12-24T08:57:48+00:00
macosx: add posix/spawn support on macosx
* add `posix/spawn.c` in `libvlccore_la_SOURCES` for `HAVE_OSX`
in `src/Makefile.am`.
* add `posix/spawn.c` in `libvlccore_sources` for `have_osx`
in `src/meson.build`.
- - - - -
2 changed files:
- src/Makefile.am
- src/meson.build
Changes:
=====================================
src/Makefile.am
=====================================
@@ -523,6 +523,10 @@ endif
libvlccore_la_SOURCES += \
posix/thread.c
libvlccore_la_LIBADD += $(LIBEXECINFO)
+if HAVE_OSX
+libvlccore_la_SOURCES += \
+ posix/spawn.c
+endif
if !HAVE_DARWIN
if !HAVE_EMSCRIPTEN
libvlccore_la_SOURCES += posix/netconf.c
=====================================
src/meson.build
=====================================
@@ -318,6 +318,11 @@ if host_system == 'darwin'
'posix/thread.c',
'posix/wait.c',
]
+ if have_osx
+ libvlccore_sources += [
+ 'posix/spawn.c',
+ ]
+ endif
libvlccore_link_args += '-Wl,-U,_vlc_static_modules'
elif host_system == 'windows'
libvlccore_sources += [
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1e70019a37b98df18f66eacd98b98dfc8528014d
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1e70019a37b98df18f66eacd98b98dfc8528014d
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