shared: fix build of libshared-cairo
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 4 Jun 2013 15:47:39 +0000 (18:47 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 5 Jun 2013 03:16:49 +0000 (23:16 -0400)
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.

COMPOSITOR_CFLAGS contains more than just the libwayland CFLAGS, though.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
shared/Makefile.am

index 323f838..6778b35 100644 (file)
@@ -11,6 +11,7 @@ libshared_la_SOURCES =                                \
 
 libshared_cairo_la_CFLAGS =                    \
        $(GCC_CFLAGS)                           \
+       $(COMPOSITOR_CFLAGS)                    \
        $(PIXMAN_CFLAGS)                        \
        $(CAIRO_CFLAGS)                         \
        $(PNG_CFLAGS)                           \