From 1392e8e2d8cfe4115f0a152aca16ffe3f0f4573a Mon Sep 17 00:00:00 2001 From: Carl Dong Date: Thu, 10 Mar 2022 15:38:34 -0500 Subject: 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 --- src/Makefile.test_util.include | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/Makefile.test_util.include') 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) -- cgit v1.2.3