mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 11:32:46 +01:00
build: restore support for building immer from local subtree
This commit is contained in:
parent
f1549b8dab
commit
faeb154a01
@ -193,6 +193,7 @@ LCOV_FILTER_PATTERN = \
|
||||
-p "/usr/lib/" \
|
||||
-p "/usr/lib64/" \
|
||||
-p "src/dashbls/" \
|
||||
-p "src/immer/" \
|
||||
-p "src/leveldb/" \
|
||||
-p "src/crc32c/" \
|
||||
-p "src/bench/" \
|
||||
|
@ -1520,9 +1520,6 @@ dnl check if libgmp is present
|
||||
AC_CHECK_HEADER([gmp.h],, AC_MSG_ERROR(libgmp headers missing))
|
||||
AC_CHECK_LIB([gmp], [__gmpz_init],GMP_LIBS=-lgmp, AC_MSG_ERROR(libgmp missing))
|
||||
|
||||
dnl check if immer headers-only library is present
|
||||
AC_CHECK_HEADER([immer/map.hpp],, AC_MSG_ERROR(immer map headers missing))
|
||||
|
||||
AC_MSG_CHECKING([whether to build dashd])
|
||||
AM_CONDITIONAL([BUILD_BITCOIND], [test x$build_bitcoind = xyes])
|
||||
AC_MSG_RESULT($build_bitcoind)
|
||||
|
@ -34,6 +34,7 @@ endif #ENABLE_STACKTRACES
|
||||
|
||||
BITCOIN_INCLUDES=-I$(builddir) -I$(srcdir)/secp256k1/include -I$(srcdir)/$(UNIVALUE_INCLUDE_DIR_INT) $(BDB_CPPFLAGS) $(BOOST_CPPFLAGS) $(LEVELDB_CPPFLAGS)
|
||||
BITCOIN_INCLUDES+=-I$(srcdir)/dashbls/include -I$(srcdir)/dashbls/depends/relic/include -I$(srcdir)/dashbls/depends/minialloc/include
|
||||
BITCOIN_INCLUDES+=-I$(srcdir)/immer
|
||||
|
||||
LIBBITCOIN_SERVER=libbitcoin_server.a
|
||||
LIBBITCOIN_COMMON=libbitcoin_common.a
|
||||
@ -856,6 +857,7 @@ libdashconsensus_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined $(RELDFLAGS)
|
||||
libdashconsensus_la_LIBADD = $(LIBDASHBLS) $(LIBSECP256K1) $(GMP_LIBS)
|
||||
libdashconsensus_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(builddir)/obj -I$(srcdir)/secp256k1/include -DBUILD_BITCOIN_INTERNAL
|
||||
libdashconsensus_la_CPPFLAGS += -I$(srcdir)/dashbls/include -I$(srcdir)/dashbls/depends/relic/include -I$(srcdir)/dashbls/depends/minialloc/include
|
||||
libdashconsensus_la_CPPFLAGS += -I$(srcdir)/immer
|
||||
libdashconsensus_la_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
||||
|
||||
endif
|
||||
@ -889,9 +891,13 @@ CLEANFILES += wallet/test/*.gcda wallet/test/*.gcno
|
||||
CLEANFILES += zmq/*.gcda zmq/*.gcno
|
||||
CLEANFILES += obj/build.h
|
||||
|
||||
IMMER_DIST = immer/immer
|
||||
LIBDASHBLS_DIST = dashbls
|
||||
|
||||
EXTRA_DIST = $(CTAES_DIST) $(LIBDASHBLS_DIST)
|
||||
EXTRA_DIST = \
|
||||
$(CTAES_DIST) \
|
||||
$(IMMER_DIST) \
|
||||
$(LIBDASHBLS_DIST)
|
||||
|
||||
config/bitcoin-config.h: config/stamp-h1
|
||||
@$(MAKE) -C $(top_builddir) $(subdir)/$(@)
|
||||
|
Loading…
Reference in New Issue
Block a user