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 $@