summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/tests/trivial/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/tests/trivial/Makefile b/src/gallium/tests/trivial/Makefile
index 346e33c28e3..bfcbdd9712d 100644
--- a/src/gallium/tests/trivial/Makefile
+++ b/src/gallium/tests/trivial/Makefile
@@ -40,5 +40,5 @@ clean:
$(OBJECTS): %.o: %.c
$(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $(PROG_DEFINES) $< -o $@
-$(PROGS): %: %.o
+$(PROGS): %: %.o $(LINKS)
$(CC) $(LDFLAGS) $< $(LINKS) -lm -lpthread -ldl -o $@