diff options
author | PoweredByPie <poweredbypie@users.noreply.github.com> | 2024-06-25 19:04:22 -0700 |
---|---|---|
committer | PoweredByPie <poweredbypie@users.noreply.github.com> | 2024-06-25 19:04:22 -0700 |
commit | e72b347c1de252faa7a59b0f72f6997d9b992350 (patch) | |
tree | c43ea08ef2c8db2956a7b6f8d70a8fc99fe36caf | |
parent | 6a0926dd33a55486d789da1e412ddb7a608fe948 (diff) |
Resolve _all_ Windows DLL dependencies
The current DLL linker only links direct dependencies of the derivation. Indirect dependencies are sometimes missed.
-rw-r--r-- | pkgs/build-support/setup-hooks/win-dll-link.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/setup-hooks/win-dll-link.sh b/pkgs/build-support/setup-hooks/win-dll-link.sh index 14594bcba937..2c63dbfb217c 100644 --- a/pkgs/build-support/setup-hooks/win-dll-link.sh +++ b/pkgs/build-support/setup-hooks/win-dll-link.sh @@ -68,7 +68,7 @@ linkDLLsInfolder() { markFileAsDone "$file" if [ ! -e "./$file" ]; then local pathsFound - readarray -d '' pathsFound < <(find "${searchPaths[@]}" -name "$file" -type f -print0) + readarray -d '' pathsFound < <(find -L "${searchPaths[@]}" -name "$file" -type f -print0) if [ ${#pathsFound[@]} -eq 0 ]; then continue; fi local dllPath dllPath="${pathsFound[0]}" |