aboutsummaryrefslogtreecommitdiff
path: root/ports/cmark
diff options
context:
space:
mode:
Diffstat (limited to 'ports/cmark')
-rw-r--r--ports/cmark/CONTROL6
-rw-r--r--ports/cmark/portfile.cmake5
2 files changed, 4 insertions, 7 deletions
diff --git a/ports/cmark/CONTROL b/ports/cmark/CONTROL
index 6f756e824..580ffedf6 100644
--- a/ports/cmark/CONTROL
+++ b/ports/cmark/CONTROL
@@ -1,3 +1,3 @@
-Source: cmark
-Version: 0.28.3-2
-Description: CommonMark parsing and rendering library
+Source: cmark
+Version: 0.28.3-3
+Description: CommonMark parsing and rendering library
diff --git a/ports/cmark/portfile.cmake b/ports/cmark/portfile.cmake
index 97324b4bf..a1351839c 100644
--- a/ports/cmark/portfile.cmake
+++ b/ports/cmark/portfile.cmake
@@ -1,9 +1,6 @@
include(vcpkg_common_functions)
-if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
- # Note: fails due to missing cmark_export.h -- fix should be to always generate the correct export header.
- message(FATAL_ERROR "cmark does not currently support static library linkage")
-endif()
+vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH