From 6ab2244a43fa2c98cb532d2b8e1a6af503bb25da Mon Sep 17 00:00:00 2001 From: orbea Date: Fri, 29 Dec 2017 11:22:55 -0800 Subject: [PATCH] qb: Do not check for x11 when using --disable-x11. --- qb/config.libs.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/qb/config.libs.sh b/qb/config.libs.sh index cd2c5e9327..c2f76ce3c2 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -395,16 +395,15 @@ fi check_pkgconf V4L2 libv4l2 check_pkgconf FREETYPE freetype2 -check_pkgconf X11 x11 -check_pkgconf XCB xcb -if [ "$OS" != 'Darwin' ]; then +if [ "$HAVE_X11" != 'no' ]; then + check_pkgconf X11 x11 check_val '' X11 -lX11 fi +check_pkgconf XCB xcb check_pkgconf WAYLAND wayland-egl check_pkgconf WAYLAND_CURSOR wayland-cursor - check_pkgconf XKBCOMMON xkbcommon 0.3.2 check_pkgconf DBUS dbus-1 check_pkgconf XEXT xext