aboutsummaryrefslogtreecommitdiff
path: root/ports/libstemmer
diff options
context:
space:
mode:
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"