Skip to content

Commit 035fa1f

Browse files
theunidongcarl
authored andcommitted
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.
1 parent 3f05950 commit 035fa1f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Makefile.am

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,11 @@ bitcoin_util_LDADD = \
805805
bitcoin_chainstate_SOURCES = bitcoin-chainstate.cpp
806806
bitcoin_chainstate_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
807807
bitcoin_chainstate_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
808-
bitcoin_chainstate_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) $(PTHREAD_FLAGS)
808+
809+
# $(LIBTOOL_APP_LDFLAGS) deliberately omitted here so that we can test linking
810+
# bitcoin-chainstate against libbitcoinkernel as a shared or static library by
811+
# setting --{en,dis}able-shared.
812+
bitcoin_chainstate_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(PTHREAD_FLAGS)
809813
bitcoin_chainstate_LDADD = $(LIBBITCOINKERNEL)
810814
#
811815

0 commit comments

Comments
 (0)