[Mesa-dev] [PATCH 21/24] pipe-loader: use PTHREAD_LIBS over -lpthread

Emil Velikov emil.l.velikov at gmail.com
Thu Mar 27 14:00:36 PDT 2014


Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/gallium/targets/pipe-loader/Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/gallium/targets/pipe-loader/Makefile.am b/src/gallium/targets/pipe-loader/Makefile.am
index fae4fa3..6e78a75 100644
--- a/src/gallium/targets/pipe-loader/Makefile.am
+++ b/src/gallium/targets/pipe-loader/Makefile.am
@@ -40,10 +40,10 @@ PIPE_LIBS = \
 	$(top_builddir)/src/gallium/drivers/rbug/librbug.la \
 	$(top_builddir)/src/gallium/drivers/trace/libtrace.la \
 	$(top_builddir)/src/gallium/drivers/galahad/libgalahad.la \
-	$(DLOPEN_LIBS) \
+	-lm \
 	$(CLOCK_LIB) \
-	-lpthread \
-	-lm
+	$(PTHREAD_LIBS) \
+	$(DLOPEN_LIBS)
 
 AM_LDFLAGS = \
 	-module \
-- 
1.9.1



More information about the mesa-dev mailing list