Modify ICU discovery and add ICU linkage for tests
Rename claimtrieForks to claimtrieforks for consistency Update a typo in rpcwallet
This commit is contained in:
parent
d740e3761c
commit
c2f184fa2a
5 changed files with 7 additions and 7 deletions
|
@ -743,6 +743,10 @@ fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
ICU_CPPFLAGS="-I$ICU_PREFIX/include"
|
||||||
|
CPPFLAGS="$ICU_CPPFLAGS $CPPFLAGS"
|
||||||
|
ICU_LIBS="-L$ICU_PREFIX/lib -licui18n -licuuc -licudata -dl"
|
||||||
|
|
||||||
if test x$use_pkgconfig = xyes; then
|
if test x$use_pkgconfig = xyes; then
|
||||||
|
|
||||||
if test x"$PKG_CONFIG" = "x"; then
|
if test x"$PKG_CONFIG" = "x"; then
|
||||||
|
@ -786,10 +790,6 @@ if test x$use_pkgconfig = xyes; then
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
else
|
else
|
||||||
ICU_CPPFLAGS="-I$ICU_PREFIX/include"
|
|
||||||
CPPFLAGS="$ICU_CPPFLAGS $CPPFLAGS"
|
|
||||||
ICU_LIBS="-L$ICU_PREFIX/lib -licui18n -licuuc -licudata -dl"
|
|
||||||
|
|
||||||
AC_MSG_WARN([Using ICU_CPPFLAGS $ICU_CPPFLAGS])
|
AC_MSG_WARN([Using ICU_CPPFLAGS $ICU_CPPFLAGS])
|
||||||
AC_MSG_WARN([Using ICU_LIBS $ICU_LIBS])
|
AC_MSG_WARN([Using ICU_LIBS $ICU_LIBS])
|
||||||
AC_MSG_WARN([Using CPPFLAGS $CPPFLAGS])
|
AC_MSG_WARN([Using CPPFLAGS $CPPFLAGS])
|
||||||
|
|
|
@ -191,7 +191,7 @@ libbitcoin_server_a_SOURCES = \
|
||||||
merkleblock.cpp \
|
merkleblock.cpp \
|
||||||
miner.cpp \
|
miner.cpp \
|
||||||
claimtrie.cpp \
|
claimtrie.cpp \
|
||||||
claimtrieForks.cpp \
|
claimtrieforks.cpp \
|
||||||
net.cpp \
|
net.cpp \
|
||||||
noui.cpp \
|
noui.cpp \
|
||||||
policy/fees.cpp \
|
policy/fees.cpp \
|
||||||
|
|
|
@ -108,7 +108,7 @@ if ENABLE_WALLET
|
||||||
test_test_lbrycrd_LDADD += $(LIBBITCOIN_WALLET)
|
test_test_lbrycrd_LDADD += $(LIBBITCOIN_WALLET)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
test_test_lbrycrd_LDADD += $(LIBBITCOIN_CONSENSUS) $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS)
|
test_test_lbrycrd_LDADD += $(LIBBITCOIN_CONSENSUS) $(BDB_LIBS) $(ICU_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS)
|
||||||
test_test_lbrycrd_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
|
test_test_lbrycrd_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
|
||||||
|
|
||||||
if ENABLE_ZMQ
|
if ENABLE_ZMQ
|
||||||
|
|
|
@ -404,7 +404,7 @@ void CreateClaim(CScript& claimScript, CAmount nAmount, CWalletTx& wtxNew)
|
||||||
throw JSONRPCError(RPC_WALLET_ERROR, strError);
|
throw JSONRPCError(RPC_WALLET_ERROR, strError);
|
||||||
}
|
}
|
||||||
if (!pwalletMain->CommitTransaction(wtxNew, reservekey))
|
if (!pwalletMain->CommitTransaction(wtxNew, reservekey))
|
||||||
throw JSONRPCError(RPC_WALLET_ERROR, "Error: The transaction was rejected! This might hapen if some of the coins in your wallet were already spent, such as if you used a copy of wallet.dat and coins were spent in the copy but not marked as spent here.");
|
throw JSONRPCError(RPC_WALLET_ERROR, "Error: The transaction was rejected! This might happen if some of the coins in your wallet were already spent, such as if you used a copy of wallet.dat and coins were spent in the copy but not marked as spent here.");
|
||||||
}
|
}
|
||||||
|
|
||||||
UniValue claimname(const UniValue& params, bool fHelp)
|
UniValue claimname(const UniValue& params, bool fHelp)
|
||||||
|
|
Loading…
Reference in a new issue