mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-02-25 01:40:32 -05:00
build-sys: Fix macOS build
* Enable macOS specific modules (module-bonjour-publish, module-coreaudio-detect and module-coreaudio-device) * Correctly set `PA_SOEXT` (.so, .dylib and .dll) * Build `poll-posix.c` and `semaphore-osx.c` * Drop linker flag `-Wl,-z,nodelete` on Darwin * Drop linker flag `-Wl,--no-undefined` on Darwin * Prefer to `clock_gettime` over compat impl for old Darwin * Disable SCM credential on Darwin Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/746>
This commit is contained in:
parent
e4517da353
commit
47a6918739
6 changed files with 53 additions and 26 deletions
|
|
@ -182,9 +182,14 @@ if host_machine.system() == 'windows'
|
|||
else
|
||||
libpulsecommon_sources += [
|
||||
'pulsecore/mutex-posix.c',
|
||||
'pulsecore/semaphore-posix.c',
|
||||
'pulsecore/thread-posix.c'
|
||||
'pulsecore/poll-posix.c',
|
||||
'pulsecore/thread-posix.c',
|
||||
]
|
||||
if host_machine.system() == 'darwin'
|
||||
libpulsecommon_sources += ['pulsecore/semaphore-osx.c']
|
||||
else
|
||||
libpulsecommon_sources += ['pulsecore/semaphore-posix.c']
|
||||
endif
|
||||
endif
|
||||
# FIXME: Do SIMD things
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue