[Mesa-dev] [PATCH] gbm: Fix gallium build when X11 is in a non-system directory

Emil Velikov emil.l.velikov at gmail.com
Tue Aug 12 10:29:47 PDT 2014


On 09/08/14 19:10, Eric Anholt wrote:
> pipe-loader.h will include Xlib.h when HAVE_PIPE_LOADER_XLIB is set in the
> build.
I really need to move all this mayhem (pipe-loader vs static targets) into one
place.

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>

> ---
>  src/gallium/state_trackers/gbm/Makefile.am | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/gallium/state_trackers/gbm/Makefile.am b/src/gallium/state_trackers/gbm/Makefile.am
> index 4d9f3fe..50995b3 100644
> --- a/src/gallium/state_trackers/gbm/Makefile.am
> +++ b/src/gallium/state_trackers/gbm/Makefile.am
> @@ -25,6 +25,7 @@ include $(top_srcdir)/src/gallium/Automake.inc
>  
>  AM_CFLAGS = \
>  	$(GALLIUM_CFLAGS) \
> +	$(X11_INCLUDES) \
>  	$(VISIBILITY_CFLAGS)
>  
>  AM_CPPFLAGS = \
> 



More information about the mesa-dev mailing list