fix the build issue in windows

This commit is contained in:
Leila Lali
2016-10-17 10:10:06 -07:00
parent c05dcbbc75
commit 3443e9bcf7
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@@ -285,3 +285,4 @@ Session.vim
# Stuff from cake
/artifacts/
/.tools/
/.dotnet/

View File

@@ -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");
}