diff options
author | rl1987 <rl1987@sdf.lonestar.org> | 2018-06-02 12:53:04 +0300 |
---|---|---|
committer | rl1987 <rl1987@sdf.lonestar.org> | 2018-06-02 12:53:04 +0300 |
commit | b7fae0f48ce63371cd2454a0b59d423778a2a7c6 (patch) | |
tree | 760732b56f1b4bb82daf3a3a4aa051b18e1af3cf /src/trunnel | |
parent | d7bbfd0f6217181fc7f4a4a71d23874873a5262a (diff) | |
download | tor-b7fae0f48ce63371cd2454a0b59d423778a2a7c6.tar.gz tor-b7fae0f48ce63371cd2454a0b59d423778a2a7c6.zip |
Heed --disable-unittests properly
Diffstat (limited to 'src/trunnel')
-rw-r--r-- | src/trunnel/include.am | 5 |
1 files changed, 5 insertions, 0 deletions
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) |