aboutsummaryrefslogtreecommitdiff
path: root/src/test/include.am
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-03-11 09:53:25 -0500
committerNick Mathewson <nickm@torproject.org>2016-03-11 09:53:25 -0500
commit82df3e70ac191a2a3cabf3574839e7561e00e370 (patch)
tree3555412232e21407a869239561b6100088c23cdd /src/test/include.am
parentb1917a061427dab68e9246463cc40c0cbd5dc00a (diff)
downloadtor-82df3e70ac191a2a3cabf3574839e7561e00e370.tar.gz
tor-82df3e70ac191a2a3cabf3574839e7561e00e370.zip
Do not link tests against both libor.a and libor-testing.a
Also, put libor-testing.a at a better position in the list of libraries, to avoid linker errors. This is a fix, or part of a fix, for 18490.
Diffstat (limited to 'src/test/include.am')
-rw-r--r--src/test/include.am9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/test/include.am b/src/test/include.am
index 786fb77dd0..7d80fdf152 100644
--- a/src/test/include.am
+++ b/src/test/include.am
@@ -151,9 +151,12 @@ src_test_test_switch_id_LDADD = \
src_test_test_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@ \
@TOR_LDFLAGS_libevent@
-src_test_test_LDADD = src/or/libtor-testing.a src/common/libor-testing.a \
- src/common/libor-crypto-testing.a $(LIBKECCAK_TINY) $(LIBDONNA) \
- src/common/libor.a src/common/libor-event-testing.a \
+src_test_test_LDADD = src/or/libtor-testing.a \
+ src/common/libor-crypto-testing.a \
+ $(LIBKECCAK_TINY) \
+ $(LIBDONNA) \
+ src/common/libor-testing.a \
+ src/common/libor-event-testing.a \
src/trunnel/libor-trunnel-testing.a \
@TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ @TOR_LIBEVENT_LIBS@ \
@TOR_OPENSSL_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_GDI@ @CURVE25519_LIBS@ \