mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-03 13:45:07 +08:00
b40de44891
This fixes a HIGH severity vulnerability: https://daniel.haxx.se/blog/2023/10/11/curl-8-4-0/ See also: https://daniel.haxx.se/blog/2023/10/11/how-i-made-a-heap-overflow-in-curl/ Resolves: https://github.com/microsoft/vcpkg/issues/34281
13 lines
367 B
Diff
13 lines
367 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 9919fd3..7e513f6 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -1654,6 +1654,7 @@ if(BUILD_SHARED_LIBS)
|
|
else()
|
|
set(ENABLE_SHARED "no")
|
|
set(LIBCURL_NO_SHARED "${LIBCURL_LIBS}")
|
|
+ set(LIBCURL_LIBS "")
|
|
set(CPPFLAG_CURL_STATICLIB "-DCURL_STATICLIB")
|
|
endif()
|
|
if(BUILD_STATIC_LIBS)
|