From 49a7df2864120d4b8e168a420c7364e5d01be7b0 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Tue, 24 Jun 2014 19:51:14 +0200 Subject: [PATCH] t/: Make mock_plugin a "check" library. This way, it's only built on 'make check' (aka 'make test'). --- t/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/Makefile.am b/t/Makefile.am index 43d24d9..f40d16f 100644 --- a/t/Makefile.am +++ b/t/Makefile.am @@ -12,7 +12,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src/include TESTS = check_PROGRAMS = -noinst_LTLIBRARIES = +check_LTLIBRARIES = # # unit tests @@ -58,7 +58,7 @@ if INTEGRATION_TESTING TESTS += integration/simple_config.sh integration/simple_query.sh endif -noinst_LTLIBRARIES += integration/mock_plugin.la +check_LTLIBRARIES += integration/mock_plugin.la integration_mock_plugin_la_SOURCES = integration/mock_plugin.c # -rpath is a work-around to enforce a shared library integration_mock_plugin_la_LDFLAGS = $(AM_LDFLAGS) -module -avoid-version \ -- 2.30.2