mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 02:25:40 +01:00
build: Correctly put boost at end of LDADD
This fixes linking issues when statically linking (thanks @imwuzhh).
This commit is contained in:
parent
65515c0d05
commit
d696820b45
@ -93,8 +93,7 @@ nodist_libbitcoin_common_a_SOURCES = $(top_srcdir)/src/obj/build.h
|
|||||||
#
|
#
|
||||||
|
|
||||||
# bitcoind binary #
|
# bitcoind binary #
|
||||||
bitcoind_LDADD = libbitcoin_server.a libbitcoin_cli.a libbitcoin_common.a leveldb/libleveldb.a leveldb/libmemenv.a \
|
bitcoind_LDADD = libbitcoin_server.a libbitcoin_cli.a libbitcoin_common.a leveldb/libleveldb.a leveldb/libmemenv.a
|
||||||
$(BOOST_LIBS)
|
|
||||||
if ENABLE_WALLET
|
if ENABLE_WALLET
|
||||||
bitcoind_LDADD += libbitcoin_wallet.a
|
bitcoind_LDADD += libbitcoin_wallet.a
|
||||||
endif
|
endif
|
||||||
@ -106,7 +105,7 @@ bitcoind_SOURCES += bitcoind-res.rc
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
AM_CPPFLAGS += $(BDB_CPPFLAGS)
|
AM_CPPFLAGS += $(BDB_CPPFLAGS)
|
||||||
bitcoind_LDADD += $(BDB_LIBS)
|
bitcoind_LDADD += $(BOOST_LIBS) $(BDB_LIBS)
|
||||||
|
|
||||||
# bitcoin-cli binary #
|
# bitcoin-cli binary #
|
||||||
bitcoin_cli_LDADD = libbitcoin_cli.a libbitcoin_common.a $(BOOST_LIBS)
|
bitcoin_cli_LDADD = libbitcoin_cli.a libbitcoin_common.a $(BOOST_LIBS)
|
||||||
|
Loading…
Reference in New Issue
Block a user