From 010aa8061feea46547920a5b3c450d409f41eb7d Mon Sep 17 00:00:00 2001 From: Conn O'Griofa Date: Fri, 29 Dec 2017 01:42:43 +0000 Subject: [PATCH] config.libs.sh: reintroduce HAVE_X11 check Current behaviour would force check_val to check for X11 even if explicitly disabled. Fixes Raspberry Pi build (which requires --disable-x11). --- qb/config.libs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qb/config.libs.sh b/qb/config.libs.sh index cd2c5e9327..f686d6ae37 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -398,7 +398,7 @@ check_pkgconf FREETYPE freetype2 check_pkgconf X11 x11 check_pkgconf XCB xcb -if [ "$OS" != 'Darwin' ]; then +if [ "$HAVE_X11" != 'no' ] && [ "$OS" != 'Darwin' ]; then check_val '' X11 -lX11 fi