From 29d5ee15071a4de434334ed8aab005b97c94de1f Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 22 Jul 2020 09:19:57 +0300 Subject: [PATCH] libinput: Use pkg-config to check for libudev --- extra/libinput/build | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 \