cygwin-dll-link: skip non-executable files

This commit is contained in:
David McFarland
2026-02-08 19:47:25 -04:00
parent c345cee8a1
commit ae16ae18f5
@@ -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