fix win-dll-link.sh setup hook (#20925)
if a dll is symlink then dll files from the symlinked directory need to be taken
This commit is contained in:
parent
c677c35922
commit
59134519ee
@ -33,7 +33,7 @@ _linkDLLs() {
|
||||
# That DLL might have its own (transitive) dependencies,
|
||||
# so add also all DLLs from its directory to be sure.
|
||||
local dllPath2
|
||||
for dllPath2 in "$dllPath" "$(dirname "$dllPath")"/*.dll; do
|
||||
for dllPath2 in "$dllPath" "$(dirname $(readlink "$dllPath" || echo "$dllPath"))"/*.dll; do
|
||||
if [ -e ./"$(basename "$dllPath2")" ]; then continue; fi
|
||||
ln -sr "$dllPath2" .
|
||||
linkCount=$(($linkCount+1))
|
||||
|
Loading…
Reference in New Issue
Block a user