Merge pull request #5983 from psyke83/patch-1

config.libs.sh: reintroduce HAVE_X11 check
This commit is contained in:
Twinaphex 2017-12-29 04:08:49 +01:00 committed by GitHub
commit 64ceabfc9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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