From 0beb3436f0156f57fe3e892d7f900b098e2e1981 Mon Sep 17 00:00:00 2001 From: David McFarland Date: Tue, 21 Oct 2025 14:15:44 -0300 Subject: [PATCH] cygwin-dll-link: include /lib/ when searching for PEs --- pkgs/os-specific/cygwin/cygwin-dll-link-hook/cygwin-dll-link.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/cygwin/cygwin-dll-link-hook/cygwin-dll-link.sh b/pkgs/os-specific/cygwin/cygwin-dll-link-hook/cygwin-dll-link.sh index 49cbde49174c..2fddfc349b94 100644 --- a/pkgs/os-specific/cygwin/cygwin-dll-link-hook/cygwin-dll-link.sh +++ b/pkgs/os-specific/cygwin/cygwin-dll-link-hook/cygwin-dll-link.sh @@ -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