[Mesa-dev] [PATCH] opengles2: fix building without X11

Alex Deucher alexdeucher at gmail.com
Thu Feb 12 06:28:26 PST 2015


On Thu, Feb 12, 2015 at 8:23 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> Humble ping.

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

>
> On 22/01/15 18:28, Emil Velikov wrote:
>> 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
>>
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list