mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
meson: fix build with missing libudev-devel
(cherry picked from commit b4c7973d49)
This commit is contained in:
parent
ee5a6f16f9
commit
3a4374ec09
7 changed files with 28 additions and 9 deletions
|
|
@ -38,8 +38,13 @@ int spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t
|
|||
*factory = &spa_alsa_sink_factory;
|
||||
break;
|
||||
case 2:
|
||||
#ifdef HAVE_LIBUDEV
|
||||
*factory = &spa_alsa_udev_factory;
|
||||
break;
|
||||
#else
|
||||
(*index)++;
|
||||
SPA_FALLTHROUGH;
|
||||
#endif
|
||||
case 3:
|
||||
*factory = &spa_alsa_pcm_device_factory;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue