mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
meson: fix build with missing libudev-devel
This commit is contained in:
parent
cb2b7af8fd
commit
b4c7973d49
7 changed files with 28 additions and 9 deletions
|
|
@ -29,8 +29,13 @@ int spa_handle_factory_enum(const struct spa_handle_factory **factory,
|
|||
*factory = &spa_v4l2_source_factory;
|
||||
break;
|
||||
case 1:
|
||||
#ifdef HAVE_LIBUDEV
|
||||
*factory = &spa_v4l2_udev_factory;
|
||||
break;
|
||||
#else
|
||||
(*index)++;
|
||||
SPA_FALLTHROUGH;
|
||||
#endif
|
||||
case 2:
|
||||
*factory = &spa_v4l2_device_factory;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue