2021-08-12 10:38:08 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2023-10-12 02:10:58 +08:00
|
|
|
index 9919fd3..7e513f6 100644
|
2021-08-12 10:38:08 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2023-10-12 02:10:58 +08:00
|
|
|
@@ -1654,6 +1654,7 @@ if(BUILD_SHARED_LIBS)
|
2023-09-26 15:09:06 +08:00
|
|
|
else()
|
2021-08-12 10:38:08 +08:00
|
|
|
set(ENABLE_SHARED "no")
|
|
|
|
set(LIBCURL_NO_SHARED "${LIBCURL_LIBS}")
|
|
|
|
+ set(LIBCURL_LIBS "")
|
2023-09-26 15:09:06 +08:00
|
|
|
set(CPPFLAG_CURL_STATICLIB "-DCURL_STATICLIB")
|
2021-08-12 10:38:08 +08:00
|
|
|
endif()
|
2023-09-26 15:09:06 +08:00
|
|
|
if(BUILD_STATIC_LIBS)
|