mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 10:38:42 +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
@ -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…
Reference in New Issue
Block a user