summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg V <greg@unrelenting.technology>2021-01-06 14:43:14 +0300
committerPulseAudio Marge Bot <pulseaudio-maintainers@lists.freedesktop.org>2021-01-18 16:33:53 +0000
commit33c89b6b76f0d2ea25746ee2cbfa682e138f9ced (patch)
tree230e984dc4da4c487fd559512c36675c3430ab21
parent379fd67c1c9aab52d9c64f0e2ae0ed6b1649f1ef (diff)
build-sys: meson: only warn about lack of udev on Linux
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277>
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index a910578ca..f67f8752f 100644
--- a/meson.build
+++ b/meson.build
@@ -938,7 +938,7 @@ if host_machine.system() != 'windows'
]
warning('\n' + '\n'.join(message))
endif
- if not udev_dep.found()
+ if host_machine.system() == 'linux' and not udev_dep.found()
message = [
'You do not have udev support enabled. It is strongly recommended',
'that you enable udev support if your platform supports it as it is',