diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2023-02-21 21:41:01 +0000 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2023-02-22 21:23:10 +0000 |
commit | 130490aef95e4b352a47dfbd55df855db56760c7 (patch) | |
tree | 37eee5f9168bf30c85face6af266a6741334bb47 /src | |
parent | 545a74ef320d0abb1e45f88ed857ccee951e81c3 (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index d64e2fe3bb..3e340a5b99 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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. |