[Mesa-dev] [PATCH] opengles2: fix building without X11
Emil Velikov
emil.l.velikov at gmail.com
Thu Jan 22 10:28:08 PST 2015
From: Michael Olbrich <m.olbrich at pengutronix.de>
es2_info, es2gears_x11 and es2tri require X11, so don't build them if X11
is disabled.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88618
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
---
Noticed this patch in bugzilla. Not sure how many people keep an eye on
it so I've decided to send it to the ML.
-Emil
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 41c1b80..36d6059 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.3
More information about the mesa-dev
mailing list