mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-21 14:34:49 +01:00
build: always build bitcoin-chainstate against static libbitcoinkernel
Building binaries against our uninstalled shared libs is impractical. Instead, to test them, we'll need to work on a runtime shared-lib execution harness.
This commit is contained in:
parent
545a74ef32
commit
130490aef9
1 changed files with 1 additions and 4 deletions
|
@ -855,10 +855,7 @@ bitcoin_chainstate_SOURCES = bitcoin-chainstate.cpp
|
|||
bitcoin_chainstate_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(BOOST_CPPFLAGS)
|
||||
bitcoin_chainstate_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
||||
|
||||
# $(LIBTOOL_APP_LDFLAGS) deliberately omitted here so that we can test linking
|
||||
# bitcoin-chainstate against libbitcoinkernel as a shared or static library by
|
||||
# setting --{en,dis}able-shared.
|
||||
bitcoin_chainstate_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(PTHREAD_FLAGS)
|
||||
bitcoin_chainstate_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(PTHREAD_FLAGS) $(LIBTOOL_APP_LDFLAGS) -static
|
||||
bitcoin_chainstate_LDADD = $(LIBBITCOINKERNEL)
|
||||
|
||||
# libtool is unable to calculate this indirect dependency, presumably because it's a subproject.
|
||||
|
|
Loading…
Add table
Reference in a new issue