add wayland cflags when building wayland-egl
authorJuan Zhao <juan.j.zhao@linux.intel.com>
Sun, 29 Jan 2012 22:46:41 +0000 (14:46 -0800)
committerBenjamin Franzke <benjaminfranzke@googlemail.com>
Sun, 29 Jan 2012 15:51:27 +0000 (16:51 +0100)
to fix the header file missing when building wayland-egl

src/egl/wayland/wayland-egl/Makefile.am

index a19a5fcde1a836b1d15ef2b8bb56e9b1a9b3062f..7d20a1a2d9464cf08809b24fab4a2179b18192d2 100644 (file)
@@ -1,7 +1,8 @@
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = wayland-egl.pc
 
-AM_CFLAGS = $(DEFINES)
+AM_CFLAGS = $(DEFINES) \
+           $(WAYLAND_CFLAGS)
 
 lib_LTLIBRARIES = libwayland-egl.la
 noinst_HEADERS = wayland-egl-priv.h