From c4dd3bbdce5a859b2e01edca5040c482f3c99ca1 Mon Sep 17 00:00:00 2001 From: orbea Date: Thu, 23 Nov 2017 07:17:04 -0800 Subject: [PATCH] qb: Fix undefined udev references without pkg-config --- qb/config.libs.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qb/config.libs.sh b/qb/config.libs.sh index ffe90a5d66..0c8363a220 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -425,7 +425,10 @@ if [ "$HAVE_UDEV" != "no" ]; then check_pkgconf UDEV libudev if [ "$HAVE_UDEV" = "no" ]; then HAVE_UDEV=auto; check_lib '' UDEV "-ludev" - [ "$HAVE_UDEV" = "yes" ] && UDEV_LIBS=-ludev + if [ "$HAVE_UDEV" = "yes" ]; then + UDEV_LIBS='-ludev' + PKG_CONF_USED="$PKG_CONF_USED UDEV" + fi fi fi