pipe-loader: use PTHREAD_LIBS over -lpthread
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 27 Mar 2014 20:21:52 +0000 (20:21 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 31 Mar 2014 12:02:47 +0000 (13:02 +0100)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/gallium/targets/pipe-loader/Makefile.am

index fae4fa35378111ba4c5063e68a840a8afdfcb0b6..ef1110476c6e3d16bf307a73d0c5ebc84230dd38 100644 (file)
@@ -42,7 +42,7 @@ PIPE_LIBS = \
        $(top_builddir)/src/gallium/drivers/galahad/libgalahad.la \
        $(DLOPEN_LIBS) \
        $(CLOCK_LIB) \
-       -lpthread \
+       $(PTHREAD_LIBS) \
        -lm
 
 AM_LDFLAGS = \