vcpkg/ports/curl/0005_remove_imp_suffix.patch
NancyLi1013 f12d986e6a
[curl] Update to 7.71.0 (#12141)
* [curl] Update to 7.71.0

* Update to 7.71.1
2020-07-06 13:23:44 -07:00

14 lines
491 B
Diff

diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index 1d71e14..62b7b33 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -128,7 +128,7 @@ if(CURL_HAS_LTO)
INTERPROCEDURAL_OPTIMIZATION_RELWITHDEBINFO TRUE)
endif()
-if(WIN32)
+if(WIN32 AND 0)
if(BUILD_SHARED_LIBS)
# Add "_imp" as a suffix before the extension to avoid conflicting with the statically linked "libcurl.lib"
set_target_properties(${LIB_NAME} PROPERTIES IMPORT_SUFFIX "_imp.lib")