2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 23:30:05 -07:00

libinput: Use pkg-config to check for libudev

This commit is contained in:
Dylan Araps 2020-07-22 09:19:57 +03:00
parent 0aa2ee4aea
commit 29d5ee1507
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

View File

@ -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 \