aboutsummaryrefslogtreecommitdiff
path: root/ports/libstemmer
diff options
context:
space:
mode:
authorThad House <thadhouse1@gmail.com>2019-05-31 13:49:13 -0700
committerThad House <thadhouse1@gmail.com>2019-05-31 13:49:13 -0700
commit788af2a75cfddbb9ef4e4217f4c0b506d25f2f3b (patch)
tree173ade0e6960917458afe9dd9fb0c3c2b7f32051 /ports/libstemmer
parentf483ae4c7fd04eed671a1de595374f84175311e9 (diff)
parent26a9338c5055193915290527eacb37f2ac7fdcb8 (diff)
downloadvcpkg-788af2a75cfddbb9ef4e4217f4c0b506d25f2f3b.tar.gz
vcpkg-788af2a75cfddbb9ef4e4217f4c0b506d25f2f3b.zip
Merge master
Diffstat (limited to 'ports/libstemmer')
-rw-r--r--ports/libstemmer/CONTROL6
-rw-r--r--ports/libstemmer/portfile.cmake7
2 files changed, 6 insertions, 7 deletions
diff --git a/ports/libstemmer/CONTROL b/ports/libstemmer/CONTROL
index c09295b62..a5275ea71 100644
--- a/ports/libstemmer/CONTROL
+++ b/ports/libstemmer/CONTROL
@@ -1,3 +1,3 @@
-Source: libstemmer
-Version: 2017-9-3
-Description: Snowball is a small string processing language designed for creating stemming algorithms for use in Information Retrieval
+Source: libstemmer
+Version: 2017-9-4
+Description: Snowball is a small string processing language designed for creating stemming algorithms for use in Information Retrieval
diff --git a/ports/libstemmer/portfile.cmake b/ports/libstemmer/portfile.cmake
index 9a76c3a94..ed4d86c4e 100644
--- a/ports/libstemmer/portfile.cmake
+++ b/ports/libstemmer/portfile.cmake
@@ -1,8 +1,7 @@
include(vcpkg_common_functions)
-if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
- message(WARNING "Dynamic not supported building static")
- set(VCPKG_LIBRARY_LINKAGE static)
-endif()
+
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/libstemmer_c)
vcpkg_download_distfile(ARCHIVE
URLS "http://snowball.tartarus.org/dist/libstemmer_c.tgz"