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

Josh Triplett josh at joshtriplett.org
Thu Mar 27 12:19:34 PDT 2014


On Thu, Mar 27, 2014 at 02:37:11PM -0400, Gaetan Nadon wrote:
> This package may theorically be installed at a different location.
> 
> Signed-off-by: Gaetan Nadon <memsize at videotron.ca>

Reviewed-by: Josh Triplett <josh at joshtriplett.org>

>  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
> 
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb


More information about the Xcb mailing list