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
642
642
dnl It's safe to add these paths even if the functionality is disabled by
643
643
dnl the user (--without-wallet or --without-gui for example).
644
644
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
646
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"
650
650
fi
651
651
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
+
652
656
if $BREW list --versions qt5 >/dev/null; then
653
657
export PKG_CONFIG_PATH="$($BREW --prefix qt5 2>/dev/null)/lib/pkgconfig:$PKG_CONFIG_PATH"
654
658
fi
You can’t perform that action at this time.
0 commit comments