auxiliary/vl: honour the DRI2PROTO_CFLAGS
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 16 Feb 2015 19:11:33 +0000 (19:11 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 18 Feb 2015 11:02:50 +0000 (11:02 +0000)
Otherwise for non-default installations the build will fail to find the
headers and error out.

Cc: "10.5" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/auxiliary/Makefile.am

index 6a628e948aa771bde60bfb5ef83ccc183e5958d5..4b6205797ef9ba9cc23ffb6ed3b7e8955f14022c 100644 (file)
@@ -56,6 +56,7 @@ if NEED_GALLIUM_VL
 COMMON_VL_CFLAGS = \
        $(AM_CFLAGS) \
        $(VL_CFLAGS) \
+       $(DRI2PROTO_CFLAGS) \
        $(LIBDRM_CFLAGS) \
        $(GALLIUM_PIPE_LOADER_DEFINES) \
        -DPIPE_SEARCH_DIR=\"$(libdir)/gallium-pipe\"