From edad3f9f9fc46d49b8353087b621b9eb5020732e Mon Sep 17 00:00:00 2001 From: John Date: Wed, 17 Apr 2019 16:44:19 +0200 Subject: [PATCH] xbps-src/build-dependencies.sh: check for instead of --- common/xbps-src/shutils/build_dependencies.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/xbps-src/shutils/build_dependencies.sh b/common/xbps-src/shutils/build_dependencies.sh index 2314766d96..55a8ee635c 100644 --- a/common/xbps-src/shutils/build_dependencies.sh +++ b/common/xbps-src/shutils/build_dependencies.sh @@ -240,7 +240,7 @@ install_pkg_deps() { continue else echo " [host] ${i}: not found." - if [ -z "$CROSS_BUILD" ]; then + if [ -z "$cross" ]; then if [ "${_realpkg}" = "$targetpkg" ]; then msg_error "${pkg}: [host] build loop detected: ${_realpkg} <-> ${targetpkg} [depends on itself]\n" elif [ "${_realpkg}" = "$pkg" ]; then