From b37371b3ddd21d17cddc2f80d8c30ab3ed8daa06 Mon Sep 17 00:00:00 2001 From: Sergei Vorobev Date: Fri, 27 Jan 2017 23:21:15 -0800 Subject: [PATCH] Fix patching logic for .dotnet openssl dylib Fixes #3062 --- build.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.psm1 b/build.psm1 index 2f65755e1..8bde70b7d 100644 --- a/build.psm1 +++ b/build.psm1 @@ -956,7 +956,7 @@ function Install-Dotnet { # This is the library shipped with .NET Core # This is allowed to fail as the user may have installed other versions of dotnet Write-Warning ".NET Core links the incorrect OpenSSL, correcting .NET CLI libraries..." - find $env:HOME/.dotnet -name System.Security.Cryptography.Native.dylib | % { sudo install_name_tool -add_rpath /usr/local/opt/openssl/lib $_ } + find $env:HOME/.dotnet -name System.Security.Cryptography.Native.OpenSsl.dylib | % { sudo install_name_tool -add_rpath /usr/local/opt/openssl/lib $_ } } } elseif ($IsWindows) { Remove-Item -ErrorAction SilentlyContinue -Recurse -Force ~\AppData\Local\Microsoft\dotnet