From 3443e9bcf7c573d50c88d7831975c0dfec5bb2b0 Mon Sep 17 00:00:00 2001 From: Leila Lali Date: Mon, 17 Oct 2016 10:10:06 -0700 Subject: [PATCH] fix the build issue in windows --- .gitignore | 3 ++- build.cake | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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"); }