xbps-src: don't install checkdepends for cross build

This commit is contained in:
Piotr Wójcik 2020-01-01 19:34:35 +01:00 committed by Piotr
parent d4d147d6cf
commit 85f5e06fda
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ install_pkg_deps() {
#
# Host check dependencies.
#
if [[ ${checkdepends} ]] && [[ $XBPS_CHECK_PKGS ]]; then
if [[ ${checkdepends} ]] && [[ $XBPS_CHECK_PKGS ]] && [ -z "$XBPS_CROSS_BUILD" ]; then
templates=""
# check validity
for f in ${checkdepends}; do