From d27745d81de8829d1a6da851fe9be057458e86df Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 18 Jun 2018 17:03:52 -0400 Subject: [PATCH] Remove duplicate MODULE_DIRAUTH_SOURCES from libtor_testing.a This was already added to LIBTOR_A_SOURCES; it doesn't need to get added again. Fixes bug 26402. Bugfix on 0.3.4.1-alpha. --- changes/bug26402 | 4 ++++ src/or/include.am | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 changes/bug26402 diff --git a/changes/bug26402 b/changes/bug26402 new file mode 100644 index 0000000000..b21283a2d2 --- /dev/null +++ b/changes/bug26402 @@ -0,0 +1,4 @@ + o Minor bugfixes (compilation): + - When linking the libtor_testing.a library, only include the dirauth + object files once. Previously, they were getting added twice. + Fixes bug 26402; bugfix on 0.3.4.1-alpha. diff --git a/src/or/include.am b/src/or/include.am index 0e2aac4aae..33d76eebd3 100644 --- a/src/or/include.am +++ b/src/or/include.am @@ -131,7 +131,7 @@ endif src_or_libtor_a_SOURCES = $(LIBTOR_A_SOURCES) if UNITTESTS_ENABLED -src_or_libtor_testing_a_SOURCES = $(LIBTOR_A_SOURCES) $(MODULE_DIRAUTH_SOURCES) +src_or_libtor_testing_a_SOURCES = $(LIBTOR_A_SOURCES) else src_or_libtor_testing_a_SOURCES = endif