gbm: Fix build for wayland include
authorElvis Lee <kwangwoong.lee@lge.com>
Thu, 19 Jul 2012 04:54:05 +0000 (13:54 +0900)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 30 Jul 2012 15:58:02 +0000 (11:58 -0400)
backends/gbm_dri.c fails to find wayland-server.h.

Signed-off-by: Elvis Lee <kwangwoong.lee@lge.com>
src/gbm/Makefile.am

index 5ca28395a171098bcd7dc77512f2b3fc312b67e5..f079da167432999acb41138530c12fb35f30a65f 100644 (file)
@@ -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