aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-11-03 12:09:23 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-11-03 12:09:23 -0700
commitf67609acf1ebe1b4ce53e4128eee67e9fa13612c (patch)
tree7f27eb619e4fc77b87872ad8c84580befb18fae9
parentb19ac6f094c9a72833f3184ba3c4ae6cf3169834 (diff)
downloadvcpkg-f67609acf1ebe1b4ce53e4128eee67e9fa13612c.tar.gz
vcpkg-f67609acf1ebe1b4ce53e4128eee67e9fa13612c.zip
[zlib] Add comment about zlib building both static and dynamic
-rw-r--r--ports/zlib/portfile.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/zlib/portfile.cmake b/ports/zlib/portfile.cmake
index 35ca5ff6d..1d6d807d4 100644
--- a/ports/zlib/portfile.cmake
+++ b/ports/zlib/portfile.cmake
@@ -18,6 +18,7 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
+# Both dynamic and static are built, so keep only the one needed
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
file(REMOVE ${CURRENT_PACKAGES_DIR}/lib/zlibstatic.lib ${CURRENT_PACKAGES_DIR}/debug/lib/zlibstaticd.lib)
else()