2021-08-12 10:38:08 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2024-07-31 08:42:29 +08:00
|
|
|
index bb6ccf1..a0df85f 100644
|
2021-08-12 10:38:08 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2024-07-31 08:42:29 +08:00
|
|
|
@@ -1913,8 +1913,10 @@ if(NOT CURL_DISABLE_INSTALL)
|
|
|
|
set(CPPFLAG_CURL_STATICLIB "")
|
2024-01-03 06:32:00 +08:00
|
|
|
else()
|
|
|
|
set(ENABLE_SHARED "no")
|
2024-07-31 08:42:29 +08:00
|
|
|
+ set(LIBCURL_PC_REQUIRES_PRIVATE "") # flattened into LIBCURL_LIBS
|
|
|
|
set(LIBCURL_PC_REQUIRES "${LIBCURL_PC_REQUIRES_PRIVATE}")
|
2024-01-03 06:32:00 +08:00
|
|
|
set(LIBCURL_NO_SHARED "${LIBCURL_LIBS}")
|
|
|
|
+ set(LIBCURL_LIBS "")
|
|
|
|
set(CPPFLAG_CURL_STATICLIB "-DCURL_STATICLIB")
|
|
|
|
endif()
|
|
|
|
if(BUILD_STATIC_LIBS)
|