xbps-src: only detect host build loops when not cross compiling
This commit is contained in:
parent
7df55ec9a8
commit
9ae512bbbb
@ -240,6 +240,7 @@ install_pkg_deps() {
|
||||
continue
|
||||
else
|
||||
echo " [host] ${i}: not found."
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
if [ "${_realpkg}" = "$targetpkg" ]; then
|
||||
msg_error "${pkg}: [host] build loop detected: ${_realpkg} <-> ${targetpkg} [depends on itself]\n"
|
||||
elif [ "${_realpkg}" = "$pkg" ]; then
|
||||
@ -247,6 +248,7 @@ install_pkg_deps() {
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
host_missing_deps+=("${i}")
|
||||
done
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user