[Xcb] [PATCH RESEND image 08/12] make: image is using X11 Protcol headers, so XPROTO_CFLAGS is required

Gaetan Nadon memsize at videotron.ca
Thu Mar 27 11:37:11 PDT 2014


This package may theorically be installed at a different location.

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 beff2f2..d66fe09 100644
--- a/image/Makefile.am
+++ b/image/Makefile.am
@@ -8,7 +8,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
 
@@ -38,7 +38,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