Merge pull request #322546 from poweredbypie/win-dll

Fix Windows DLL dependency linking
This commit is contained in:
John Ericson
2024-06-27 16:40:22 -04:00
committed by GitHub
@@ -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]}"