File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -642,16 +642,15 @@ 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
- qt5_prefix=$($BREW --prefix qt5 2>/dev/null)
646
645
if $BREW list --versions berkeley-db4 >/dev/null && test "x$BDB_CFLAGS" = "x" && test "x$BDB_LIBS" = "x" && test "$use_bdb" != "no"; then
647
646
bdb_prefix=$($BREW --prefix berkeley-db4 2>/dev/null)
648
647
dnl This must precede the call to BITCOIN_FIND_BDB48 below.
649
648
BDB_CFLAGS="-I$bdb_prefix/include"
650
649
BDB_LIBS="-L$bdb_prefix/lib -ldb_cxx-4.8"
651
650
fi
652
- if test x$qt5_prefix != x; then
653
- PKG_CONFIG_PATH="$qt5_prefix/lib/pkgconfig:$PKG_CONFIG_PATH"
654
- export PKG_CONFIG_PATH
651
+
652
+ if $BREW list --versions qt5 >/dev/null; then
653
+ export PKG_CONFIG_PATH="$($BREW --prefix qt5 2>/dev/null)/lib/pkgconfig:$PKG_CONFIG_PATH"
655
654
fi
656
655
fi
657
656
else
You can’t perform that action at this time.
0 commit comments