summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa-demos/0012-Fix-gles-configurability.patch
blob: 0b437a47d082358b85ac968d8a9bc6278b7cd800 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Index: mesa-demos-8.2.0/src/egl/opengles1/Makefile.am
===================================================================
--- mesa-demos-8.2.0.orig/src/egl/opengles1/Makefile.am	2016-07-29 10:52:50.131729547 -0500
+++ mesa-demos-8.2.0/src/egl/opengles1/Makefile.am	2016-07-29 10:59:26.000000000 -0500
@@ -36,6 +36,8 @@
 	$(EGL_LIBS) \
 	-lm
 
+if HAVE_EGL
+if HAVE_GLESV1
 bin_PROGRAMS =
 
 if HAVE_X11
@@ -76,3 +78,5 @@
 torus_x11_LDADD = ../eglut/libeglut_x11.la
 tri_x11_LDADD = ../eglut/libeglut_x11.la
 endif
+endif
+endif
Index: mesa-demos-8.2.0/src/egl/opengles2/Makefile.am
===================================================================
--- mesa-demos-8.2.0.orig/src/egl/opengles2/Makefile.am	2016-07-29 10:52:50.131729547 -0500
+++ mesa-demos-8.2.0/src/egl/opengles2/Makefile.am	2016-07-29 10:59:03.000000000 -0500
@@ -33,6 +33,8 @@
 	$(EGL_LIBS) \
 	-lm
 
+if HAVE_EGL
+if HAVE_GLESV2
 bin_PROGRAMS =
 
 if HAVE_WAYLAND
@@ -53,4 +55,5 @@
 es2gears_x11_LDADD = ../eglut/libeglut_x11.la
 es2tri_LDADD = $(X11_LIBS)
 endif
-
+endif
+endif