summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Li <[email protected]>2010-02-05 19:41:32 -0800
committerJosé Fonseca <[email protected]>2010-02-09 17:19:29 +0000
commit8b6ec94aec2d0f18a862fd50bfeb2cc89a0d23d3 (patch)
tree6b8c830ed341c3f20f8d93df65c6584a892136eb
parent6ef1d6040738f5a3d93644a782ee7b600b8420b6 (diff)
llvmpipe: Make llvm unit test depend on libllvmpipe.a
Signed-off-by: José Fonseca <[email protected]>
-rw-r--r--src/gallium/drivers/llvmpipe/Makefile5
1 files changed, 2 insertions, 3 deletions
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)