merge bitcoin#12095: Use BDB_LIBS/CFLAGS and pass --disable-replication

This commit is contained in:
Kittywhiskers Van Gogh 2018-01-05 08:36:42 +08:00
parent 0c1f8cc09a
commit 9be6231cff

View File

@ -72,7 +72,7 @@ patch -p2 < clang.patch
cd build_unix/
"${BDB_PREFIX}/${BDB_VERSION}/dist/configure" \
--enable-cxx --disable-shared --with-pic --prefix="${BDB_PREFIX}" \
--enable-cxx --disable-shared --disable-replication --with-pic --prefix="${BDB_PREFIX}" \
"${@}"
make install
@ -83,4 +83,4 @@ echo
echo 'When compiling dashd, run `./configure` in the following way:'
echo
echo " export BDB_PREFIX='${BDB_PREFIX}'"
echo ' ./configure LDFLAGS="-L${BDB_PREFIX}/lib/" CPPFLAGS="-I${BDB_PREFIX}/include/" ...'
echo ' ./configure BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" BDB_CFLAGS="-I${BDB_PREFIX}/include" ...'