Mesa (master): gbm: Fix build for wayland include

Kristian Høgsberg krh at kemper.freedesktop.org
Mon Jul 30 16:02:31 UTC 2012


Module: Mesa
Branch: master
Commit: e7a4a2b18b9803c7b59968519c78c9fff4d521e6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e7a4a2b18b9803c7b59968519c78c9fff4d521e6

Author: Elvis Lee <kwangwoong.lee at lge.com>
Date:   Thu Jul 19 13:54:05 2012 +0900

gbm: Fix build for wayland include

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 files changed, 1 insertions(+), 0 deletions(-)

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




More information about the mesa-commit mailing list