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/mesa/main/tests/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/tests') diff --git a/src/mesa/main/tests/Makefile.am b/src/mesa/main/tests/Makefile.am index cac04bc..f818e44 100644 --- a/src/mesa/main/tests/Makefile.am +++ b/src/mesa/main/tests/Makefile.am @@ -1,3 +1,6 @@ +AM_CFLAGS = \ + $(X11_CFLAGS) \ + $(PTHREAD_CFLAGS) AM_CPPFLAGS = \ -I$(top_builddir)/src/gtest/include \ -I$(top_builddir)/src/mapi \ @@ -14,7 +17,8 @@ main_test_SOURCES = \ main_test_LDADD = \ $(top_builddir)/src/mesa/libmesa.la \ $(top_builddir)/src/gtest/libgtest.la \ - -lpthread -ldl + $(PTHREAD_LIBS) \ + $(DLOPEN_LIBS) if HAVE_SHARED_GLAPI AM_CPPFLAGS += -DHAVE_SHARED_GLAPI -- cgit v1.1