state_tracker: Don't build st-renumerate-test without shared glapi
authorDylan Baker <dylan@pnwbakers.com>
Mon, 20 Nov 2017 22:53:09 +0000 (14:53 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 6 Feb 2018 23:00:17 +0000 (15:00 -0800)
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/mesa/state_tracker/tests/Makefile.am

index 3c7993dc8d1d200e92bc28fba8c1f1b423c06a45..cb585141ea6fc0f313058f154000bd67a71576b4 100644 (file)
@@ -16,11 +16,13 @@ AM_CPPFLAGS = \
        $(DEFINES)
 
 if HAVE_STD_CXX11
+if HAVE_SHARED_GLAPI
 TESTS = st-renumerate-test
 check_PROGRAMS = st-renumerate-test
 
 noinst_LIBRARIES = libmesa-st-tests-common.a
 endif
+endif
 
 libmesa_st_tests_common_a_SOURCES = \
        st_tests_common.cpp \