cygwin-dll-link: include /lib/ when searching for PEs

This commit is contained in:
David McFarland
2026-02-08 19:47:25 -04:00
parent ae16ae18f5
commit 0beb3436f0
@@ -72,7 +72,7 @@ linkDLLs() {
# Iterate over any DLL that we depend on.
local target
for target in {bin,libexec}/**/*.{exe,dll}; do
for target in {bin,lib,libexec}/**/*.{exe,dll}; do
[[ ! -f "$target" || ! -x "$target" ]] ||
_linkDeps "$target" "$(dirname "$target")" "1"
done