summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/Makefile
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2010-05-17 22:15:53 +0100
committerJakob Bornecrantz <jakob@vmware.com>2010-05-17 22:33:35 +0100
commitb3f625f5e49d4f713caf401daf32e7f8843bad24 (patch)
tree7500a2b0ad572b24addca21b4099322499890dd4 /src/gallium/drivers/llvmpipe/Makefile
parent2386d41648d78925b139aea9562325c5b22007eb (diff)
llvmpipe: Fix link order for test apps
When linking with --as-needed libgallium.a can't find the dl* symbols from -ldl since order matters more with --as-needed. Thanks to Nirbheek Chauhan and Adam Jackson
Diffstat (limited to 'src/gallium/drivers/llvmpipe/Makefile')
-rw-r--r--src/gallium/drivers/llvmpipe/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/Makefile b/src/gallium/drivers/llvmpipe/Makefile
index 4ea367597e..526e85c82e 100644
--- a/src/gallium/drivers/llvmpipe/Makefile
+++ b/src/gallium/drivers/llvmpipe/Makefile
@@ -59,7 +59,7 @@ lp_tile_soa.c: lp_tile_soa.py ../../auxiliary/util/u_format_parse.py ../../auxil
python lp_tile_soa.py ../../auxiliary/util/u_format.csv > $@
LDFLAGS += $(LLVM_LDFLAGS)
-LIBS += $(GL_LIB_DEPS) -L../../auxiliary/ -lgallium libllvmpipe.a $(LLVM_LIBS)
+LIBS += -L../../auxiliary/ -lgallium libllvmpipe.a $(LLVM_LIBS) $(GL_LIB_DEPS)
LD=g++
$(PROGS): lp_test_main.o libllvmpipe.a