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

Elvis Lee kwangwoong.lee at lge.com
Wed Jul 18 21:54:05 PDT 2012


backends/gbm_dri.c fails to find wayland-server.h.

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



More information about the mesa-dev mailing list