[Mesa-dev] [PATCH] gbm : Fix build for wayland include

Kristian Høgsberg hoegsberg at gmail.com
Mon Jul 30 09:02:06 PDT 2012


On Thu, Jul 19, 2012 at 01:54:05PM +0900, Elvis Lee wrote:
> backends/gbm_dri.c fails to find wayland-server.h.

Thanks, pushed.

> Signed-off-by: Elvis Lee <kwangwoong.lee at lge.com>
> ---
>  src/gbm/Makefile.am |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/gbm/Makefile.am b/src/gbm/Makefile.am
> index 5ca2839..f079da1 100644
> --- a/src/gbm/Makefile.am
> +++ b/src/gbm/Makefile.am
> @@ -22,6 +22,7 @@ libgbm_la_LIBADD = $(LIBUDEV_LIBS) $(DLOPEN_LIBS)
>  
>  if HAVE_EGL_PLATFORM_WAYLAND
>  AM_CPPFLAGS = -DHAVE_WAYLAND_PLATFORM
> +AM_CFLAGS += $(WAYLAND_CFLAGS)
>  endif
>  
>  if HAVE_DRI
> -- 
> 1.7.9.5
> 
> _______________________________________________
> 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