[PATCH weston] shared: fix build of libshared-cairo

ppaalanen at gmail.com ppaalanen at gmail.com
Tue Jun 4 08:47:39 PDT 2013


From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>

Another case of missing wayland-util.h, as we didn't pass any libwayland
CFLAGS. This is triggerable on a system, where libwayland is installed
in a custom prefix, and pixman, cairo, libpng, and webp are either
not installed or are installed in the standard path.

CONPOSITOR_CFLAGS contains more than just the libwayland CFLAGS, though.

Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
---
 shared/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/shared/Makefile.am b/shared/Makefile.am
index 323f838..6778b35 100644
--- a/shared/Makefile.am
+++ b/shared/Makefile.am
@@ -11,6 +11,7 @@ libshared_la_SOURCES =				\
 
 libshared_cairo_la_CFLAGS =			\
 	$(GCC_CFLAGS)				\
+	$(COMPOSITOR_CFLAGS)			\
 	$(PIXMAN_CFLAGS)			\
 	$(CAIRO_CFLAGS)				\
 	$(PNG_CFLAGS)				\
-- 
1.8.1.5



More information about the wayland-devel mailing list