From: Chris Li Date: Sat, 6 Feb 2010 03:41:32 +0000 (-0800) Subject: llvmpipe: Make llvm unit test depend on libllvmpipe.a X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8b6ec94aec2d0f18a862fd50bfeb2cc89a0d23d3;p=mesa.git llvmpipe: Make llvm unit test depend on libllvmpipe.a Signed-off-by: José Fonseca --- diff --git a/src/gallium/drivers/llvmpipe/Makefile b/src/gallium/drivers/llvmpipe/Makefile index 7e7b6205cd2..e880042b71e 100644 --- a/src/gallium/drivers/llvmpipe/Makefile +++ b/src/gallium/drivers/llvmpipe/Makefile @@ -60,8 +60,7 @@ testprogs := lp_test_format \ LIBS += $(GL_LIB_DEPS) -L. -lllvmpipe -L../../auxiliary/ -lgallium -$(testprogs): lp_test_% : lp_test_%.o lp_test_main.o - $(LD) $^ -o $@ -Wl,--start-group $(LIBS) -Wl,--end-group - +$(testprogs): lp_test_% : lp_test_%.o lp_test_main.o libllvmpipe.a + $(LD) $(filter %.o,$^) -o $@ -Wl,--start-group $(LIBS) -Wl,--end-group default: $(testprogs)