mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-13 17:23:02 -05:00
fix the build issue in windows
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -285,3 +285,4 @@ Session.vim
|
||||
# Stuff from cake
|
||||
/artifacts/
|
||||
/.tools/
|
||||
/.dotnet/
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user