forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[curl] Update to 8.10.0 (microsoft#40903)
- Loading branch information
Showing
21 changed files
with
173 additions
and
124 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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 3a2128e..e9c9c92 100644 | ||
index 7242d68..da69699 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -1662,7 +1662,9 @@ if(NOT CURL_DISABLE_INSTALL) | ||
@@ -1918,7 +1918,9 @@ if(NOT CURL_DISABLE_INSTALL) | ||
endif() | ||
endforeach() | ||
|
||
- foreach(_lib ${CMAKE_C_IMPLICIT_LINK_LIBRARIES} ${CURL_LIBS}) | ||
- foreach(_lib IN LISTS CMAKE_C_IMPLICIT_LINK_LIBRARIES CURL_LIBS) | ||
+ set(CURL_LIBS_FLAT "") | ||
+ vcpkg_curl_flatten(CURL_LIBS CURL_LIBS_FLAT) | ||
+ foreach(_lib ${CURL_LIBS_FLAT}) | ||
+ foreach(_lib IN LISTS CURL_LIBS_FLAT) | ||
if(TARGET "${_lib}") | ||
set(_libname "${_lib}") | ||
get_target_property(_imported "${_libname}" IMPORTED) |
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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index bb6ccf1..a0df85f 100644 | ||
index da69699..3a9b844 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -1913,8 +1913,10 @@ if(NOT CURL_DISABLE_INSTALL) | ||
set(CPPFLAG_CURL_STATICLIB "") | ||
@@ -2042,8 +2042,10 @@ if(NOT CURL_DISABLE_INSTALL) | ||
set(LIBCURL_PC_CFLAGS "") | ||
else() | ||
set(ENABLE_SHARED "no") | ||
+ set(LIBCURL_PC_REQUIRES_PRIVATE "") # flattened into LIBCURL_LIBS | ||
set(LIBCURL_PC_REQUIRES "${LIBCURL_PC_REQUIRES_PRIVATE}") | ||
set(LIBCURL_NO_SHARED "${LIBCURL_LIBS}") | ||
+ set(LIBCURL_LIBS "") | ||
set(CPPFLAG_CURL_STATICLIB "-DCURL_STATICLIB") | ||
set(ENABLE_SHARED "no") | ||
+ set(LIBCURL_PC_REQUIRES_PRIVATE "") # flattened into LIBCURL_PC_LIBS | ||
set(LIBCURL_PC_REQUIRES "${LIBCURL_PC_REQUIRES_PRIVATE}") | ||
set(LIBCURL_PC_LIBS "${LIBCURL_PC_LIBS_PRIVATE}") | ||
+ set(LIBCURL_PC_LIBS_PRIVATE "") # in LIBCURL_PC_LIBS | ||
set(LIBCURL_PC_CFLAGS "${LIBCURL_PC_CFLAGS_PRIVATE}") | ||
endif() | ||
if(BUILD_STATIC_LIBS) |
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
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
This file was deleted.
Oops, something went wrong.
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
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
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,14 @@ | ||
diff --git a/include/curl_easy.h b/include/curl_easy.h | ||
index 66f8f51..8004957 100644 | ||
--- a/include/curl_easy.h | ||
+++ b/include/curl_easy.h | ||
@@ -358,7 +358,9 @@ namespace curl { | ||
|
||
/* Renamed / obsoleted since 7.37 */ | ||
#if defined(LIBCURL_VERSION_NUM) && LIBCURL_VERSION_NUM > 0x072500 | ||
+# if LIBCURL_VERSION_NUM < 0x080a00 | ||
CURLCPP_DEFINE_OPTION(CURLOPT_OBSOLETE72, long); /* OBSOLETE, do not use! */ | ||
+# endif | ||
#else | ||
CURLCPP_DEFINE_OPTION(CURLOPT_CLOSEPOLICY, long); | ||
#endif |
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
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
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,14 @@ | ||
diff --git a/include/curlpp/Options.hpp b/include/curlpp/Options.hpp | ||
index c705c9d..a658752 100644 | ||
--- a/include/curlpp/Options.hpp | ||
+++ b/include/curlpp/Options.hpp | ||
@@ -278,7 +278,9 @@ namespace options | ||
typedef curlpp::OptionTrait<long, CURLOPT_LOW_SPEED_LIMIT> LowSpeedLimit; | ||
typedef curlpp::OptionTrait<long, CURLOPT_LOW_SPEED_TIME> LowSpeedTime; | ||
typedef curlpp::OptionTrait<long, CURLOPT_MAXCONNECTS> MaxConnects; | ||
+#if LIBCURL_VERSION_NUM < 0x080a00 | ||
typedef curlpp::OptionTrait<curl_closepolicy, CURLOPT_CLOSEPOLICY> ClosePolicy; | ||
+#endif | ||
typedef curlpp::OptionTrait<bool, CURLOPT_FRESH_CONNECT> FreshConnect; | ||
typedef curlpp::OptionTrait<bool, CURLOPT_FORBID_REUSE> ForbidReuse; | ||
typedef curlpp::OptionTrait<long, CURLOPT_CONNECTTIMEOUT> ConnectTimeout; |
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
Oops, something went wrong.