mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
meson: Define HAVE_UDEV when udev is found
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
e013ac2a0e
commit
4be9e4ba54
1 changed files with 3 additions and 0 deletions
|
|
@ -221,6 +221,9 @@ cdata.set('DISABLE_ORC', 1)
|
|||
|
||||
# Module dependencies
|
||||
udev_dep = dependency('libudev', version : '>= 143', required : false)
|
||||
if udev_dep.found()
|
||||
cdata.set('HAVE_UDEV', 1)
|
||||
endif
|
||||
|
||||
# Now generate config.h from everything above
|
||||
configure_file(output : 'config.h', configuration : cdata)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue