File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -641,9 +641,9 @@ case $host in
641
641
dnl It's safe to add these paths even if the functionality is disabled by
642
642
dnl the user (--without-wallet or --without-gui for example).
643
643
644
- bdb_prefix=$($BREW --prefix berkeley-db4 2>/dev/null)
645
644
qt5_prefix=$($BREW --prefix qt5 2>/dev/null)
646
- if test x$bdb_prefix != x && test "x$BDB_CFLAGS" = "x" && test "x$BDB_LIBS" = "x" && test "$use_bdb" != "no"; then
645
+ if $BREW list --versions berkeley-db4 >/dev/null && test "x$BDB_CFLAGS" = "x" && test "x$BDB_LIBS" = "x" && test "$use_bdb" != "no"; then
646
+ bdb_prefix=$($BREW --prefix berkeley-db4 2>/dev/null)
647
647
dnl This must precede the call to BITCOIN_FIND_BDB48 below.
648
648
BDB_CFLAGS="-I$bdb_prefix/include"
649
649
BDB_LIBS="-L$bdb_prefix/lib -ldb_cxx-4.8"
You can’t perform that action at this time.
0 commit comments