mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 10:58:30 -05:00
fix the build issue in windows
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -284,4 +284,5 @@ Session.vim
|
|||||||
|
|
||||||
# Stuff from cake
|
# Stuff from cake
|
||||||
/artifacts/
|
/artifacts/
|
||||||
/.tools/
|
/.tools/
|
||||||
|
/.dotnet/
|
||||||
@@ -325,7 +325,7 @@ Task("OnlyPublish")
|
|||||||
//Setting the rpath for System.Security.Cryptography.Native.dylib library
|
//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
|
//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 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");
|
Run("install_name_tool", "-add_rpath /usr/local/opt/openssl/lib " + outputFolder + "/System.Security.Cryptography.Native.dylib");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user