[Mesa-dev] [PATCH] egl/wayland: restore WAYLAND_CLIENT_CFLAGS

Marek Olšák maraeo at gmail.com
Tue Oct 3 22:32:41 UTC 2017


From: Slava Grigorev <slava.grigorev at amd.com>

that is required to include wayland-egl.h header file if it is not
in /usr/include

Signed-off-by: Slava Grigorev <slava.grigorev at amd.com>
Signed-off-by: Marek Olšák <marek.olsak at amd.com>
---
 src/egl/wayland/wayland-egl/Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/egl/wayland/wayland-egl/Makefile.am b/src/egl/wayland/wayland-egl/Makefile.am
index 08a6768..7dde955 100644
--- a/src/egl/wayland/wayland-egl/Makefile.am
+++ b/src/egl/wayland/wayland-egl/Makefile.am
@@ -1,15 +1,16 @@
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = wayland-egl.pc
 
 AM_CFLAGS = $(DEFINES) \
-	    $(VISIBILITY_CFLAGS)
+	    $(VISIBILITY_CFLAGS) \
+	    $(WAYLAND_CLIENT_CFLAGS)
 
 lib_LTLIBRARIES = libwayland-egl.la
 noinst_HEADERS = wayland-egl-backend.h
 libwayland_egl_la_SOURCES = wayland-egl.c
 libwayland_egl_la_LDFLAGS = \
 	-no-undefined \
 	-version-info 1 \
 	$(GC_SECTIONS) \
 	$(LD_NO_UNDEFINED)
 
-- 
2.7.4



More information about the mesa-dev mailing list