mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
modules: build module-rt only on Linux
RLIMIT_RTTIME is Linux specific, there is no equivalent replacement for FreeBSD. Save trouble and build module-rt for Linux only, rtkit WIP fork should be fine on FreeBSD for now.
This commit is contained in:
parent
2a8d511be8
commit
3cf4bf7cf7
1 changed files with 2 additions and 0 deletions
|
|
@ -58,6 +58,7 @@ pipewire_module_profiler = shared_library('pipewire-module-profiler',
|
|||
dependencies : [mathlib, dl_lib, pipewire_dep],
|
||||
)
|
||||
|
||||
if build_machine.system() == 'linux'
|
||||
pipewire_module_rt = shared_library('pipewire-module-rt', [ 'module-rt.c' ],
|
||||
c_args : pipewire_module_c_args,
|
||||
include_directories : [configinc, spa_inc],
|
||||
|
|
@ -66,6 +67,7 @@ pipewire_module_rt = shared_library('pipewire-module-rt', [ 'module-rt.c' ],
|
|||
install_rpath: modules_install_dir,
|
||||
dependencies : [dl_lib, pipewire_dep],
|
||||
)
|
||||
endif
|
||||
|
||||
if dbus_dep.found()
|
||||
pipewire_module_rtkit = shared_library('pipewire-module-rtkit', [ 'module-rtkit.c' ],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue