diff options
author | fanquake <fanquake@gmail.com> | 2022-05-30 10:24:00 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-05-31 06:37:43 +0100 |
commit | 46a890960e4b07e5aec479aa8e07e9c34ce68aee (patch) | |
tree | 5653cb8254e98310a5266f3dd4c847ff632c4015 /src/Makefile.test.include | |
parent | b9ef5a10e2fa4609d048db57b99463305455ebe4 (diff) | |
download | bitcoin-46a890960e4b07e5aec479aa8e07e9c34ce68aee.tar.xz |
build: pass bdb cppflags only where needed
Move bdb cppflags out of the catch-all BITCOIN_INCLUDES, and pass them
only where they are needed, which is in libbitcoin_node/wallet and the
tests.
Diffstat (limited to 'src/Makefile.test.include')
-rw-r--r-- | src/Makefile.test.include | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.test.include b/src/Makefile.test.include index 77ff683974..751f59c4b3 100644 --- a/src/Makefile.test.include +++ b/src/Makefile.test.include @@ -201,6 +201,7 @@ test_test_bitcoin_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(TESTDEFS) $(EV test_test_bitcoin_LDADD = $(LIBTEST_UTIL) if ENABLE_WALLET test_test_bitcoin_LDADD += $(LIBBITCOIN_WALLET) +test_test_bitcoin_CPPFLAGS += $(BDB_CPPFLAGS) endif test_test_bitcoin_LDADD += $(LIBBITCOIN_NODE) $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBBITCOIN_UTIL) $(LIBBITCOIN_CONSENSUS) $(LIBBITCOIN_CRYPTO) $(LIBUNIVALUE) \ |