diff --git a/extra/libinput/build b/extra/libinput/build index 4b65ad8b..71f702f4 100755 --- a/extra/libinput/build +++ b/extra/libinput/build @@ -6,9 +6,7 @@ export DESTDIR="$1" # Meson build has no support for automatically using # udev if available. This simply does the same. -kiss l eudev >/dev/null 2>&1 || -kiss l libudev-zero >/dev/null 2>&1 || - udev=false +pkg-config --exists libudev || udev=false meson \ --prefix=/usr \