File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -642,13 +642,17 @@ case $host in
642642 dnl It's safe to add these paths even if the functionality is disabled by
643643 dnl the user (--without-wallet or --without-gui for example).
644644
645- if $ BREW list --versions berkeley-db4 >/dev/null && test "x$BDB_CFLAGS" = "x" && test "x$BDB_LIBS" = "x" && test "$use_bdb" != "no "; then
645+ if test "x$use_bdb" != xno && $ BREW list --versions berkeley-db4 >/dev/null && test "x$BDB_CFLAGS" = "x" && test "x$BDB_LIBS" = "x"; then
646646 bdb_prefix=$($BREW --prefix berkeley-db4 2>/dev/null)
647647 dnl This must precede the call to BITCOIN_FIND_BDB48 below.
648648 BDB_CFLAGS="-I$bdb_prefix/include"
649649 BDB_LIBS="-L$bdb_prefix/lib -ldb_cxx-4.8"
650650 fi
651651
652+ if test "x$use_sqlite" != xno && $BREW list --versions sqlite3 >/dev/null; then
653+ export PKG_CONFIG_PATH="$($BREW --prefix sqlite3 2>/dev/null)/lib/pkgconfig:$PKG_CONFIG_PATH"
654+ fi
655+
652656 if $BREW list --versions qt5 >/dev/null; then
653657 export PKG_CONFIG_PATH="$($BREW --prefix qt5 2>/dev/null)/lib/pkgconfig:$PKG_CONFIG_PATH"
654658 fi
You can’t perform that action at this time.
0 commit comments