mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-20 08:56:56 -05:00
Enable AVB on Linux only.
This commit is contained in:
parent
25b2f316f0
commit
4a0395d23e
2 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
if alsa_dep.found()
|
if alsa_dep.found()
|
||||||
subdir('alsa')
|
subdir('alsa')
|
||||||
endif
|
endif
|
||||||
if get_option('avb').allowed()
|
if get_option('avb').require(build_machine.system() == 'linux', error_message: 'AVB support is only available on Linux').allowed()
|
||||||
subdir('avb')
|
subdir('avb')
|
||||||
endif
|
endif
|
||||||
if get_option('audioconvert').allowed()
|
if get_option('audioconvert').allowed()
|
||||||
|
|
|
||||||
|
|
@ -527,7 +527,7 @@ pipewire_module_fallback_sink = shared_library('pipewire-module-fallback-sink',
|
||||||
dependencies : [mathlib, dl_lib, rt_lib, pipewire_dep],
|
dependencies : [mathlib, dl_lib, rt_lib, pipewire_dep],
|
||||||
)
|
)
|
||||||
|
|
||||||
build_module_avb = get_option('avb').allowed()
|
build_module_avb = get_option('avb').require(build_machine.system() == 'linux', error_message: 'AVB support is only available on Linux').allowed()
|
||||||
if build_module_avb
|
if build_module_avb
|
||||||
pipewire_module_avb = shared_library('pipewire-module-avb',
|
pipewire_module_avb = shared_library('pipewire-module-avb',
|
||||||
[ 'module-avb.c',
|
[ 'module-avb.c',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue