aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexej Harm <alexej.h@xiphos.de>2019-03-22 07:10:23 +0100
committerPhil Christensen <philc@microsoft.com>2019-03-21 23:10:23 -0700
commit6e8725ba64ffd81650d67feb5ecc69b6df4b4307 (patch)
treeee5259487e272dfdd2cbc28d82d65e076e85ac4c
parentdc970afe341ef37877a3b8481ffc75dd54e07575 (diff)
downloadvcpkg-6e8725ba64ffd81650d67feb5ecc69b6df4b4307.tar.gz
vcpkg-6e8725ba64ffd81650d67feb5ecc69b6df4b4307.zip
[tiff] Changed library linkage to static. (#5766)
-rw-r--r--ports/tiff/CONTROL2
-rw-r--r--ports/tiff/portfile.cmake2
2 files changed, 3 insertions, 1 deletions
diff --git a/ports/tiff/CONTROL b/ports/tiff/CONTROL
index bc4310ba7..97d25bcdb 100644
--- a/ports/tiff/CONTROL
+++ b/ports/tiff/CONTROL
@@ -1,4 +1,4 @@
Source: tiff
-Version: 4.0.10-3
+Version: 4.0.10-4
Build-Depends: zlib, libjpeg-turbo, liblzma (!uwp)
Description: A library that supports the manipulation of TIFF image files
diff --git a/ports/tiff/portfile.cmake b/ports/tiff/portfile.cmake
index d51d772ca..3a0ee0b8a 100644
--- a/ports/tiff/portfile.cmake
+++ b/ports/tiff/portfile.cmake
@@ -2,6 +2,8 @@ include(vcpkg_common_functions)
set(LIBTIFF_VERSION 4.0.10)
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
vcpkg_download_distfile(ARCHIVE
URLS "http://download.osgeo.org/libtiff/tiff-${LIBTIFF_VERSION}.tar.gz"
FILENAME "tiff-${LIBTIFF_VERSION}.tar.gz"