diff --git a/support/scripts/check-bin-arch b/support/scripts/check-bin-arch index 700ee3f65e..887b6613cd 100755 --- a/support/scripts/check-bin-arch +++ b/support/scripts/check-bin-arch @@ -38,7 +38,7 @@ while read f; do # Skip symlinks. Some symlinks may have absolute paths as # target, pointing to host binaries while we're building. - if [[ -L "${f}" ]]; then + if [[ -L "${TARGET_DIR}/${f}" ]]; then continue fi