summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-07-31 14:10:54 -0700
committerIan Romanick <[email protected]>2012-08-08 10:06:25 -0700
commit52d6df8aa7231c1d4d80a8599af0e2c5d02c7b6c (patch)
tree35734a3df37a2145c77bf740046841323a60ebd7 /src/mapi
parente45a9ce474c3562f16c8a773260752d77a4fed5c (diff)
mesa/tests: Don't build glapi tests with shared-glapi
This fixes 'make check' on with --enable-shared-glapi. This test cannot work in that environment. Signed-off-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/tests/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mapi/glapi/tests/Makefile.am b/src/mapi/glapi/tests/Makefile.am
index 96fc8713bd3..d1d2f03827a 100644
--- a/src/mapi/glapi/tests/Makefile.am
+++ b/src/mapi/glapi/tests/Makefile.am
@@ -1,3 +1,4 @@
+if !HAVE_SHARED_GLAPI
AM_CPPFLAGS = \
-I$(top_builddir)/src/gtest/include \
-I$(top_builddir)/src/mapi \
@@ -13,3 +14,4 @@ glapi_test_LDADD = \
$(top_builddir)/src/mapi/glapi/libglapi.la \
$(top_builddir)/src/gtest/libgtest.la \
-lpthread
+endif