cygwin-dll-link: skip non-executable files

This commit is contained in:
David McFarland
2025-10-21 13:55:40 -03:00
parent c345cee8a1
commit ae16ae18f5

View File

@@ -25,6 +25,7 @@ _dllDeps() {
_linkDeps() {
local target="$1" dir="$2" check="$3"
[[ ! -x "$target" ]] && echo "_linkDeps: $target is not executable, skipping." 1>&2 && return
echo 'target:' "$target"
local dll
_dllDeps "$target" | while read -r dll; do