aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.test_util.include
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2022-03-10 15:38:34 -0500
committerCarl Dong <contact@carldong.me>2022-04-11 16:56:34 -0400
commit1392e8e2d8cfe4115f0a152aca16ffe3f0f4573a (patch)
treeeda5e00db6403a95760ca9f68c19837717d2d63b /src/Makefile.test_util.include
parent2b5a741e98f186e50d9fbe1ceadcc8b8c91547f7 (diff)
build: Don't add unrelated libs to LIBTEST_*
This was used to, in effect, manually emulate --start-group/--end-group. However, we can just order the libraries correctly and avoid specifying libraries multiple times on the link line. Note: lld (not ld.bfd) knows how to resolve out-of-order references and doesn't seem to need the reodering
Diffstat (limited to 'src/Makefile.test_util.include')
-rw-r--r--src/Makefile.test_util.include5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/Makefile.test_util.include b/src/Makefile.test_util.include
index 92cb8a5ce6..9306bb6fcc 100644
--- a/src/Makefile.test_util.include
+++ b/src/Makefile.test_util.include
@@ -34,8 +34,3 @@ libtest_util_a_SOURCES = \
test/util/validation.cpp \
test/util/wallet.cpp \
$(TEST_UTIL_H)
-
-LIBTEST_UTIL += $(LIBBITCOIN_NODE)
-LIBTEST_UTIL += $(LIBBITCOIN_COMMON)
-LIBTEST_UTIL += $(LIBBITCOIN_UTIL)
-LIBTEST_UTIL += $(LIBBITCOIN_CRYPTO_BASE)