Browse Source

Updated configure with change from last commit

Sam Lantinga 5 years ago
parent
commit
a8f91340c8
1 changed files with 3 additions and 0 deletions
  1. 3 0
      configure

+ 3 - 0
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
 }