[Mesa-dev] [PATCH] drivers/x11: add gallium include dirs to Makefile.am

Matt Turner mattst88 at gmail.com
Fri Feb 20 13:32:04 PST 2015


On Fri, Feb 20, 2015 at 12:20 PM, Brian Paul <brianp at vmware.com> wrote:
> Fixes xlib driver build after e8c5cbfd921680c.
> ---
>  src/mesa/drivers/x11/Makefile.am | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/mesa/drivers/x11/Makefile.am b/src/mesa/drivers/x11/Makefile.am
> index 76a7cd4..c0596f8 100644
> --- a/src/mesa/drivers/x11/Makefile.am
> +++ b/src/mesa/drivers/x11/Makefile.am
> @@ -30,6 +30,8 @@ AM_CPPFLAGS = \
>         -I$(top_srcdir)/src/mapi \
>         -I$(top_srcdir)/src/mesa \
>         -I$(top_srcdir)/src \
> +       -I$(top_srcdir)/src/gallium/include \
> +       -I$(top_srcdir)/src/gallium/auxiliary \

I really dislike including these directories in a bunch of non-Gallium
places. I should have said so more strongly when the patch went by.

I'm not sure whether I want to spend my time to fix this the right way or what.

I guess just go ahead and commit this until something better comes along.


More information about the mesa-dev mailing list