pipe-loader: Fix build with dri drivers enabled, and vl state trackers disabled
authorTom Stellard <thomas.stellard@amd.com>
Wed, 25 Feb 2015 00:43:43 +0000 (19:43 -0500)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 27 Feb 2015 14:51:33 +0000 (14:51 +0000)
Configure arguments:

./configure --disable-dri3 --disable-xvmc --enable-opencl
            --with-gallium-drivers=r300,r600,radeonsi
            --with-egl-platforms=drm

Build error:

make[3]: *** No rule to make target
`../../../../src/gallium/auxiliary/libgalliumvlwinsys.la', needed by
`pipe_r300.la'.  Stop.

Cc: "10.5" <mesa-stable@lists.freedestkop.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/targets/pipe-loader/Makefile.am

index 94658f8138f91d86304646c76dba52b1f368234b..fe40f5b181e488ca2fcdfcfdb387f1689e74e13b 100644 (file)
@@ -40,13 +40,17 @@ PIPE_LIBS =
 
 if NEED_GALLIUM_VL
 PIPE_LIBS += \
-       $(top_builddir)/src/gallium/auxiliary/libgalliumvlwinsys.la \
        $(top_builddir)/src/gallium/auxiliary/libgalliumvl.la
 else
 PIPE_LIBS += \
        $(top_builddir)/src/gallium/auxiliary/libgalliumvl_stub.la
 endif
 
+if NEED_GALLIUM_VL_WINSYS
+PIPE_LIBS+= \
+       $(top_builddir)/src/gallium/auxiliary/libgalliumvlwinsys.la
+endif
+
 PIPE_LIBS += \
        $(top_builddir)/src/gallium/auxiliary/libgallium.la \
        $(top_builddir)/src/util/libmesautil.la \