diff --git a/.gitignore b/.gitignore index 97e1cc41..9af4c745 100644 --- a/.gitignore +++ b/.gitignore @@ -284,4 +284,5 @@ Session.vim # Stuff from cake /artifacts/ -/.tools/ \ No newline at end of file +/.tools/ +/.dotnet/ \ No newline at end of file diff --git a/build.cake b/build.cake index c2be18e9..a5138151 100644 --- a/build.cake +++ b/build.cake @@ -325,7 +325,7 @@ Task("OnlyPublish") //Setting the rpath for System.Security.Cryptography.Native.dylib library //Only required for mac. We're assuming the openssl is installed in /usr/local/opt/openssl //If that's not the case user has to run the command manually - if (runtime.Contains("osx")) + if (!IsRunningOnWindows() && runtime.Contains("osx")) { Run("install_name_tool", "-add_rpath /usr/local/opt/openssl/lib " + outputFolder + "/System.Security.Cryptography.Native.dylib"); }