dotnet-hook.sh: fix library path in wrapper

Fixes: 8713126d0f7d07fc56cc0ac4d901ae0a597a62b2
This commit is contained in:
David McFarland 2025-08-11 12:12:21 -03:00
parent ab1f3b6127
commit a298a4dd79

View File

@ -251,7 +251,7 @@ dotnetFromEnv'
local wrapperFlags=()
if (( ${#runtimeDeps[@]} > 0 )); then
local libraryPath=("${dotnetRuntimeDeps[@]/%//lib}")
local libraryPath=("${runtimeDeps[@]/%//lib}")
local OLDIFS="$IFS" IFS=':'
wrapperFlags+=("--suffix" "LD_LIBRARY_PATH" ":" "${libraryPath[*]}")
IFS="$OLDIFS"