diff --git a/src/gallium/targets/pipe-loader/Makefile.am b/src/gallium/targets/pipe-loader/Makefile.am index fae4fa35378..ef1110476c6 100644 --- a/src/gallium/targets/pipe-loader/Makefile.am +++ b/src/gallium/targets/pipe-loader/Makefile.am @@ -42,7 +42,7 @@ PIPE_LIBS = \ $(top_builddir)/src/gallium/drivers/galahad/libgalahad.la \ $(DLOPEN_LIBS) \ $(CLOCK_LIB) \ - -lpthread \ + $(PTHREAD_LIBS) \ -lm AM_LDFLAGS = \