From 57ea0177b8bd46e20fdd546043865afd0ee956ff Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Fri, 5 Sep 2014 11:07:27 +0200 Subject: [PATCH] opengles2: fix building without X11 es2_info, es2gears_x11 and es2tri require X11, so don't build them if X11 is disabled. --- src/egl/opengles2/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/egl/opengles2/Makefile.am b/src/egl/opengles2/Makefile.am index 41c1b80fa75e..36d6059d2850 100644 --- a/src/egl/opengles2/Makefile.am +++ b/src/egl/opengles2/Makefile.am @@ -36,10 +36,13 @@ AM_LDFLAGS = \ if HAVE_EGL if HAVE_GLESV2 bin_PROGRAMS = \ + es2gears_screen +if HAVE_X11 +bin_PROGRAMS += \ es2_info \ - es2gears_screen \ es2gears_x11 \ es2tri +endif if HAVE_WAYLAND bin_PROGRAMS += es2gears_wayland endif -- 2.1.4