mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-21 14:34:49 +01:00
build: fix bitcoin-chainstate when libbitcoinkernel is static
Libtool is unable to calculate dependencies correctly so give it some help.
This commit is contained in:
parent
9c253d2398
commit
545a74ef32
1 changed files with 4 additions and 0 deletions
|
@ -860,6 +860,10 @@ bitcoin_chainstate_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|||
# setting --{en,dis}able-shared.
|
||||
bitcoin_chainstate_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(PTHREAD_FLAGS)
|
||||
bitcoin_chainstate_LDADD = $(LIBBITCOINKERNEL)
|
||||
|
||||
# libtool is unable to calculate this indirect dependency, presumably because it's a subproject.
|
||||
# libsecp256k1 only needs to be linked in when libbitcoinkernel is static.
|
||||
bitcoin_chainstate_LDADD += $(LIBSECP256K1)
|
||||
#
|
||||
|
||||
# bitcoinkernel library #
|
||||
|
|
Loading…
Add table
Reference in a new issue