Skip to content

Commit

Permalink
Fix Start-PSBootstrap install_name_tool call on macOS (PowerShell#2601)
Browse files Browse the repository at this point in the history
  • Loading branch information
vors authored and daxian-dbw committed Nov 3, 2016
1 parent 9ccd778 commit a3afeee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,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.dylib | % { sudo install_name_tool -add_rpath /usr/local/opt/openssl/lib $_ }
}
} elseif ($IsWindows) {
Remove-Item -ErrorAction SilentlyContinue -Recurse -Force ~\AppData\Local\Microsoft\dotnet
Expand Down

0 comments on commit a3afeee

Please sign in to comment.