summaryrefslogtreecommitdiffstats
path: root/src/glsl/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-01 15:23:04 -0700
commitb6651ae6ad314a93287e431a41f5c7a8f8f6c855 (patch)
treea9335e3d7f1b6d9473d917c19f45cc442875b96b /src/glsl/tests/Makefile.am
parentdd4fde8f674f5e3efa19e929f97de4ecfd82391b (diff)
build: Use PTHREAD_LIBS and PTHREAD_CFLAGS
Diffstat (limited to 'src/glsl/tests/Makefile.am')
-rw-r--r--src/glsl/tests/Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/glsl/tests/Makefile.am b/src/glsl/tests/Makefile.am
index 33e634d953d..ee3cef63507 100644
--- a/src/glsl/tests/Makefile.am
+++ b/src/glsl/tests/Makefile.am
@@ -24,12 +24,14 @@ uniform_initializer_test_SOURCES = \
copy_constant_to_storage_tests.cpp \
set_uniform_initializer_tests.cpp \
uniform_initializer_utils.cpp
-
+uniform_initializer_test_CFLAGS = \
+ $(PTHREAD_CFLAGS)
uniform_initializer_test_LDADD = \
$(top_builddir)/src/gtest/libgtest.la \
$(top_builddir)/src/glsl/libglsl.la \
$(top_builddir)/src/mesa/libmesa.la \
- -lpthread
+ $(PTHREAD_LIBS)
ralloc_test_SOURCES = ralloc_test.cpp $(top_builddir)/src/glsl/ralloc.c
-ralloc_test_LDADD = $(top_builddir)/src/gtest/libgtest.la -lpthread
+ralloc_test_CFLAGS = $(PTHREAD_CFLAGS)
+ralloc_test_LDADD = $(top_builddir)/src/gtest/libgtest.la $(PTHREAD_LIBS)