From b6651ae6ad314a93287e431a41f5c7a8f8f6c855 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Tue, 18 Sep 2012 21:51:25 -0700 Subject: build: Use PTHREAD_LIBS and PTHREAD_CFLAGS --- src/glx/tests/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/glx') diff --git a/src/glx/tests/Makefile.am b/src/glx/tests/Makefile.am index a7a23faf32e..83626fd41c6 100644 --- a/src/glx/tests/Makefile.am +++ b/src/glx/tests/Makefile.am @@ -1,4 +1,5 @@ if HAVE_SHARED_GLAPI +AM_CFLAGS = $(PTHREAD_CFLAGS) AM_CPPFLAGS = \ -I$(top_builddir)/src/gtest/include \ -I$(top_builddir)/src/mapi \ @@ -21,5 +22,5 @@ glx_test_LDADD = \ $(top_builddir)/src/glx/libglx.la \ $(top_builddir)/src/gtest/libgtest.la \ $(top_builddir)/src/mapi/shared-glapi/libglapi.la \ - -lpthread + $(PTHREAD_LIBS) endif -- cgit v1.2.3