diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-01-22 18:28:08 +0000 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2015-02-18 11:05:57 +0000 |
commit | 6f7ad3f242943242021d1c42c6ed6933b76137fd (patch) | |
tree | 39113ff0325634724bfda761448ceef40969c1d4 | |
parent | f9d54b7e701f433fa36d14c07fc06386e7b90964 (diff) |
opengles2: fix building without X11
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@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | src/egl/opengles2/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/egl/opengles2/Makefile.am b/src/egl/opengles2/Makefile.am index 41c1b80f..36d6059d 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 |