llvmpipe: Make llvm unit test depend on libllvmpipe.a
authorChris Li <chrisl@vmware.com>
Sat, 6 Feb 2010 03:41:32 +0000 (19:41 -0800)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 9 Feb 2010 17:19:29 +0000 (17:19 +0000)
Signed-off-by: José Fonseca <jfonseca@vmware.com>
src/gallium/drivers/llvmpipe/Makefile

index 7e7b6205cd284d69659240b3e23bb815e3ea0439..e880042b71e9910fd696a8532185dcc4654f92ab 100644 (file)
@@ -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)