vcpkg/ports/curl/0005_remove_imp_suffix.patch
Robert Schumacher db0c6043dc
[curl] Revert revert of -imp suffix removal. (#6698)
* [curl] Revert revert of `-imp` suffix removal.

* [idevicerestore][libideviceactivation] Simplify dependency on curl

* [curl] Trivial change to provoke rebuild
2019-06-26 11:49:39 -07:00

14 lines
537 B
Diff

diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index eca9a8a..6f72955 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -97,7 +97,7 @@ endif()
set_target_properties(${LIB_NAME} PROPERTIES PREFIX "")
set_target_properties(${LIB_NAME} PROPERTIES IMPORT_PREFIX "")
-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")