[PATCH weston 1/2] compositor-android: fix build flags

Kristian Høgsberg hoegsberg at gmail.com
Fri Jun 1 07:33:42 PDT 2012


On Fri, Jun 01, 2012 at 12:20:24PM +0300, Pekka Paalanen wrote:
> When adding a C++ file to the build, I forgot to set CXXFLAGS for it,
> triggering the error:
> 
> android-framebuffer.h:26:21: fatal error: EGL/egl.h: No such file or
> directory
> 
> I never hit this, because I have EGL headers installed also in my
> system, rather than only in $prefix.

Yeah, me neither, I just install mesa into /usr these days.

> Fix this by setting the CXXFLAGS for the android backend.

Thanks, committed.
Kristian

> Reported-by: Scott Moreau <oreaus at gmail.com>
> Reported-by: Tiago Vignatti <tiago.vignatti at intel.com>
> Signed-off-by: Pekka Paalanen <ppaalanen at gmail.com>
> ---
>  src/Makefile.am |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/src/Makefile.am b/src/Makefile.am
> index ea81d33..fd8aa9b 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -130,6 +130,7 @@ android_backend = android-backend.la
>  android_backend_la_LDFLAGS = -module -avoid-version
>  android_backend_la_LIBADD = $(COMPOSITOR_LIBS)
>  android_backend_la_CFLAGS = $(GCC_CFLAGS) $(COMPOSITOR_CFLAGS)
> +android_backend_la_CXXFLAGS = $(GCC_CFLAGS) $(COMPOSITOR_CFLAGS)
>  android_backend_la_SOURCES = \
>  	compositor-android.c \
>  	android-framebuffer.cpp \
> -- 
> 1.7.3.4
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list