From d50b395ad887c19253e84f10dc3e3e82a2a27656 Mon Sep 17 00:00:00 2001 From: Themaister Date: Tue, 24 Jun 2014 20:16:31 +0200 Subject: [PATCH] Fix --disable-udev. --- qb/config.libs.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/qb/config.libs.sh b/qb/config.libs.sh index 8c0db99185..1719b6daac 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -256,10 +256,12 @@ else HAVE_XVIDEO='no' fi -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" != "no" ]; then + check_pkgconf UDEV libudev + if [ "$HAVE_UDEV" = "no" ]; then + HAVE_UDEV=auto && check_lib UDEV "-ludev" + [ "$HAVE_UDEV" = "yes" ] && UDEV_LIBS=-ludev + fi fi check_lib STRL -lc strlcpy