summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-17 14:47:56 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-17 14:47:56 -0400
commit6fd301fa8a1219ac5f00342a1886cf8692912c0b (patch)
treee53336505c91aa5fbc2569c5c5afc813316a96f6
parent4833717d69fee558d55f6e853a22a5e8199357a2 (diff)
parentd663ef9858060c6dde4dfb84fcde07ebe1f347d0 (diff)
downloadtor-6fd301fa8a1219ac5f00342a1886cf8692912c0b.tar.gz
tor-6fd301fa8a1219ac5f00342a1886cf8692912c0b.zip
Merge remote-tracking branch 'rl1987/bug26789'
-rw-r--r--Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 0f934cf0f2..202197f5f5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -66,6 +66,7 @@ TOR_UTIL_LIBS = \
# Variants of the above for linking the testing variant of tor (for coverage
# and tests)
+if UNITTESTS_ENABLED
TOR_UTIL_TESTING_LIBS = \
src/lib/libtor-process-testing.a \
src/lib/libtor-time-testing.a \
@@ -90,6 +91,7 @@ TOR_UTIL_TESTING_LIBS = \
src/lib/libtor-err-testing.a \
src/lib/libtor-intmath.a \
src/lib/libtor-ctime-testing.a
+endif
# Internal crypto libraries used in Tor
TOR_CRYPTO_LIBS = \
@@ -100,11 +102,13 @@ TOR_CRYPTO_LIBS = \
# Variants of the above for linking the testing variant of tor (for coverage
# and tests)
+if UNITTESTS_ENABLED
TOR_CRYPTO_TESTING_LIBS = \
src/lib/libtor-tls-testing.a \
src/lib/libtor-crypt-ops-testing.a \
$(LIBKECCAK_TINY) \
$(LIBDONNA)
+endif
# All static libraries used to link tor.
TOR_INTERNAL_LIBS = \
@@ -118,6 +122,7 @@ TOR_INTERNAL_LIBS = \
# Variants of the above for linking the testing variant of tor (for coverage
# and tests)
+if UNITTESTS_ENABLED
TOR_INTERNAL_TESTING_LIBS = \
src/core/libtor-app-testing.a \
src/lib/libtor-compress-testing.a \
@@ -126,6 +131,7 @@ TOR_INTERNAL_TESTING_LIBS = \
$(TOR_UTIL_TESTING_LIBS) \
src/trunnel/libor-trunnel-testing.a \
src/lib/libtor-trace.a
+endif
# All libraries used to link tor-cov