build: don't check for deprecated qt5 package

Use qt@5 instead.
This commit is contained in:
fanquake 2021-11-21 19:34:28 +08:00
parent d0fe9c2180
commit 4d83038714
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

View File

@ -694,8 +694,8 @@ case $host in
export PKG_CONFIG_PATH="$($BREW --prefix sqlite3 2>/dev/null)/lib/pkgconfig:$PKG_CONFIG_PATH"
fi
if $BREW list --versions qt5 >/dev/null; then
export PKG_CONFIG_PATH="$($BREW --prefix qt5 2>/dev/null)/lib/pkgconfig:$PKG_CONFIG_PATH"
if $BREW list --versions qt@5 >/dev/null; then
export PKG_CONFIG_PATH="$($BREW --prefix qt@5 2>/dev/null)/lib/pkgconfig:$PKG_CONFIG_PATH"
fi
case $host in