Commit a8f91340c8fb421f396aad473b66492e3072a190

Sam Lantinga 2020-03-02T15:14:52

Updated configure with change from last commit

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/configure b/configure
index 6548151..9c46ffe 100755
--- a/configure
+++ b/configure
@@ -21487,6 +21487,9 @@ $as_echo "#define SDL_VIDEO_DRIVER_X11_XVIDMODE 1" >>confdefs.h
                 SUMMARY_video_x11="${SUMMARY_video_x11} xvidmode"
             fi
         fi
+    else
+        # Prevent Mesa from including X11 headers
+        EXTRA_CFLAGS="$EXTRA_CFLAGS -DMESA_EGL_NO_X11_HEADERS -DEGL_NO_X11"
     fi
 }