diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2022-04-27 20:03:58 +0000 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2022-04-27 17:36:49 -0400 |
commit | 035fa1f07aacb7bce74c0884ae28c8cf00fe3b1b (patch) | |
tree | b46b08429e98b55bc476e4e41ff5f7820a560905 | |
parent | 3f0595095dd6d230dc661641227937e3ab4ca8d3 (diff) |
build: Remove LIBTOOL_APP_LDFLAGS for bitcoin-chainstate
See added comment.
Note that this won't actually have any effect until we add the mingw-w64
DLL fix since LIBTOOL_APP_LDFLAGS is undefined for other platforms.
-rw-r--r-- | src/Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index fe8dcc753c..5e7120270f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -805,7 +805,11 @@ bitcoin_util_LDADD = \ bitcoin_chainstate_SOURCES = bitcoin-chainstate.cpp bitcoin_chainstate_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) bitcoin_chainstate_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS) -bitcoin_chainstate_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) $(PTHREAD_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_LDADD = $(LIBBITCOINKERNEL) # |