forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[curl] Add missing advapi32 link (microsoft#2978)
This adds missing library, advapi32, to linking. Fixes ARM builds. The same patch is pending merge upstream: curl/curl#2363
- Loading branch information
1 parent
87fb308
commit d4797b3
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 490cc19ef8..23fe34f614 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -330,7 +330,7 @@ if(CMAKE_USE_WINSSL) | ||
set(SSL_ENABLED ON) | ||
set(USE_SCHANNEL ON) # Windows native SSL/TLS support | ||
set(USE_WINDOWS_SSPI ON) # CMAKE_USE_WINSSL implies CURL_WINDOWS_SSPI | ||
- list(APPEND CURL_LIBS "crypt32") | ||
+ list(APPEND CURL_LIBS "crypt32" "advapi32") | ||
endif() | ||
if(CURL_WINDOWS_SSPI) | ||
set(USE_WINDOWS_SSPI ON) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters