From b7fae0f48ce63371cd2454a0b59d423778a2a7c6 Mon Sep 17 00:00:00 2001 From: rl1987 Date: Sat, 2 Jun 2018 12:53:04 +0300 Subject: Heed --disable-unittests properly --- src/trunnel/include.am | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/trunnel/include.am') diff --git a/src/trunnel/include.am b/src/trunnel/include.am index ca79ff3a39..b249fb302c 100644 --- a/src/trunnel/include.am +++ b/src/trunnel/include.am @@ -41,7 +41,12 @@ TRUNNELHEADERS = \ src_trunnel_libor_trunnel_a_SOURCES = $(TRUNNELSOURCES) src_trunnel_libor_trunnel_a_CPPFLAGS = -DTRUNNEL_LOCAL_H $(AM_CPPFLAGS) +if UNITTESTS_ENABLED src_trunnel_libor_trunnel_testing_a_SOURCES = $(TRUNNELSOURCES) +else +src_trunnel_libor_trunnel_testing_a_SOURCES = +endif + src_trunnel_libor_trunnel_testing_a_CPPFLAGS = -DTRUNNEL_LOCAL_H $(AM_CPPFLAGS) $(TEST_CPPFLAGS) src_trunnel_libor_trunnel_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS) -- cgit v1.2.3-54-g00ecf