[Xcb] [PATCH util-image 08/12] make: image is using X11 Protcol headers, so XPROTO_CFLAGS is required
Gaetan Nadon
memsize at videotron.ca
Thu Apr 3 16:33:20 PDT 2014
This package may theorically be installed at a different location.
Reviewed-by: Josh Triplett <josh at joshtriplett.org>
Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
image/Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/image/Makefile.am b/image/Makefile.am
index 3540c22..d32f5a7 100644
--- a/image/Makefile.am
+++ b/image/Makefile.am
@@ -7,7 +7,7 @@ AM_CFLAGS = $(CWARNFLAGS)
XCB_IMAGE_LIBS = libxcb-image.la
libxcb_image_la_SOURCES = xcb_image.c
-libxcb_image_la_CPPFLAGS = $(XCB_CFLAGS) $(XCB_SHM_CFLAGS) $(XCB_UTIL_CFLAGS)
+libxcb_image_la_CPPFLAGS = $(XCB_CFLAGS) $(XCB_SHM_CFLAGS) $(XCB_UTIL_CFLAGS) $(XPROTO_CFLAGS)
libxcb_image_la_LIBADD = $(XCB_LIBS) $(XCB_SHM_LIBS) $(XCB_UTIL_LIBS)
libxcb_image_la_LDFLAGS = -no-undefined
@@ -37,7 +37,7 @@ test_xcb_image_shm_LDADD = $(XCB_LIBS) $(XCB_SHM_LIBS) \
$(XCB_UTIL_LIBS) $(XCB_IMAGE_LIBS)
test_formats_SOURCES = test_formats.c
-test_formats_CPPFLAGS = $(XCB_CFLAGS) $(XCB_SHM_CFLAGS) $(XCB_UTIL_CFLAGS)
+test_formats_CPPFLAGS = $(XCB_CFLAGS) $(XCB_SHM_CFLAGS) $(XCB_UTIL_CFLAGS) $(XPROTO_CFLAGS)
test_formats_LDADD = $(XCB_LIBS) $(XCB_UTIL_LIBS) $(XCB_IMAGE_LIBS)
test_bitmap_SOURCES = test_bitmap.c test.xbm
--
1.7.9.5
More information about the Xcb
mailing list