diff options
Diffstat (limited to 'src/mesa/main/tests')
-rw-r--r-- | src/mesa/main/tests/Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/main/tests/Makefile.am b/src/mesa/main/tests/Makefile.am index cac04bcd6ec..f818e44511c 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 |