From: Tom Stellard Date: Wed, 25 Feb 2015 00:43:43 +0000 (-0500) Subject: pipe-loader: Fix build with dri drivers enabled, and vl state trackers disabled X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ed07255149d7cffac07615e946289b3d683faa4b;p=mesa.git pipe-loader: Fix build with dri drivers enabled, and vl state trackers disabled 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" Reviewed-by: Emil Velikov --- diff --git a/src/gallium/targets/pipe-loader/Makefile.am b/src/gallium/targets/pipe-loader/Makefile.am index 94658f8138f..fe40f5b181e 100644 --- a/src/gallium/targets/pipe-loader/Makefile.am +++ b/src/gallium/targets/pipe-loader/Makefile.am @@ -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 \