mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 02:25:40 +01:00
Don't set BDB flags when configuring without
This commit is contained in:
parent
31c9987976
commit
982e548a9a
@ -643,7 +643,7 @@ case $host in
|
|||||||
|
|
||||||
bdb_prefix=$($BREW --prefix berkeley-db4 2>/dev/null)
|
bdb_prefix=$($BREW --prefix berkeley-db4 2>/dev/null)
|
||||||
qt5_prefix=$($BREW --prefix qt5 2>/dev/null)
|
qt5_prefix=$($BREW --prefix qt5 2>/dev/null)
|
||||||
if test x$bdb_prefix != x && test "x$BDB_CFLAGS" = "x" && test "x$BDB_LIBS" = "x"; then
|
if test x$bdb_prefix != x && test "x$BDB_CFLAGS" = "x" && test "x$BDB_LIBS" = "x" && test "$use_bdb" != "no"; then
|
||||||
dnl This must precede the call to BITCOIN_FIND_BDB48 below.
|
dnl This must precede the call to BITCOIN_FIND_BDB48 below.
|
||||||
BDB_CFLAGS="-I$bdb_prefix/include"
|
BDB_CFLAGS="-I$bdb_prefix/include"
|
||||||
BDB_LIBS="-L$bdb_prefix/lib -ldb_cxx-4.8"
|
BDB_LIBS="-L$bdb_prefix/lib -ldb_cxx-4.8"
|
||||||
|
Loading…
Reference in New Issue
Block a user