muffin: fix build
For EGL we now need to also #include <eglmesaext.h>.
This commit is contained in:
parent
6a82f066ec
commit
c6d50cf8fd
|
@ -0,0 +1,36 @@
|
|||
--- cogl/configure.ac 2019-07-25 10:27:05.000000000 +0200
|
||||
+++ cogl/configure.ac 2020-01-26 18:24:57.704883594 +0100
|
||||
@@ -486,8 +486,9 @@
|
||||
AC_SUBST([COGL_EGL_INCLUDES])
|
||||
|
||||
AC_CHECK_HEADERS([EGL/eglext.h],
|
||||
- [COGL_EGL_INCLUDES="$COGL_EGL_INCLUDE
|
||||
-#include <EGL/eglext.h>"],
|
||||
+ [COGL_EGL_INCLUDES="$COGL_EGL_INCLUDES
|
||||
+#include <EGL/eglext.h>
|
||||
+#include <EGL/eglmesaext.h"],
|
||||
[],
|
||||
[$COGL_EGL_INCLUDES])
|
||||
|
||||
@@ -749,6 +750,11 @@
|
||||
[],
|
||||
[AC_MSG_ERROR([Unable to locate required EGL headers])],
|
||||
[#include <EGL/egl.h>])
|
||||
+ AC_CHECK_HEADERS(
|
||||
+ [EGL/eglmesaext.h],
|
||||
+ [],
|
||||
+ [AC_MSG_ERROR([Unable to locate required EGL headers])],
|
||||
+ [#include <EGL/egl.h>])
|
||||
|
||||
AC_CHECK_LIB(EGL, [eglInitialize],
|
||||
[COGL_EXTRA_LDFLAGS="$COGL_EXTRA_LDFLAGS -lEGL"],
|
||||
@@ -759,7 +765,8 @@
|
||||
)
|
||||
|
||||
COGL_EGL_INCLUDES="#include <EGL/egl.h>
|
||||
-#include <EGL/eglext.h>"
|
||||
+#include <EGL/eglext.h>
|
||||
+#include <EGL/eglmesaext.h>"
|
||||
AC_SUBST([COGL_EGL_INCLUDES])
|
||||
])
|
||||
|
Loading…
Reference in New Issue