summaryrefslogtreecommitdiff
blob: 04f73357e1d37cb87e30ab4086c944cc7ca16d80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Nupr libgdiplus-5.6.1~/configure libgdiplus-5.6.1/configure
--- libgdiplus-5.6.1~/configure	2019-06-07 21:26:37.207823285 +0200
+++ libgdiplus-5.6.1/configure	2019-06-07 21:27:44.045156234 +0200
@@ -14133,7 +14133,7 @@ fi
 
 
 # Add xrender here so that we don't fail to find glib if we won't have xrender.pc
-if test "x$no_x" != "xyes" && "x$x11_available" = "xyes"; then
+if test "x$no_x" != "xyes" && test "x$x11_available" = "xyes"; then
    GDIPLUS_LIBS="$GDIPLUS_LIBS `$PKG_CONFIG --libs xrender `"
    GDIPLUS_CFLAGS="$GDIPLUS_CFLAGS `$PKG_CONFIG --cflags xrender `"
 fi