summaryrefslogtreecommitdiffstats
path: root/src/mapi/shared-glapi/tests/Makefile.am
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2012-09-18 21:51:25 -0700
committerMatt Turner <[email protected]>2012-10-03 13:56:24 -0700
commit421dda800de3aff588e97ccb6398b94e780590cd (patch)
tree188df5f26c1cf86796ed7f7d9c37f27cc8074ce0 /src/mapi/shared-glapi/tests/Makefile.am
parent89e76252ca3fd015544f76d0f528babe9c723938 (diff)
build: Use PTHREAD_LIBS and PTHREAD_CFLAGS
(cherry picked from commit b6651ae6ad314a93287e431a41f5c7a8f8f6c855) Conflicts: src/mesa/main/tests/Makefile.am
Diffstat (limited to 'src/mapi/shared-glapi/tests/Makefile.am')
-rw-r--r--src/mapi/shared-glapi/tests/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mapi/shared-glapi/tests/Makefile.am b/src/mapi/shared-glapi/tests/Makefile.am
index 49b86afb95a..23d0208e866 100644
--- a/src/mapi/shared-glapi/tests/Makefile.am
+++ b/src/mapi/shared-glapi/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 \
@@ -13,5 +14,5 @@ shared_glapi_test_SOURCES = \
shared_glapi_test_LDADD = \
$(top_builddir)/src/mapi/shared-glapi/libglapi.la \
$(top_builddir)/src/gtest/libgtest.la \
- -lpthread
+ $(PTHREAD_LIBS)
endif