aboutsummaryrefslogtreecommitdiff
path: root/ports/argtable2
diff options
context:
space:
mode:
Diffstat (limited to 'ports/argtable2')
-rw-r--r--ports/argtable2/CONTROL2
-rw-r--r--ports/argtable2/portfile.cmake5
2 files changed, 4 insertions, 3 deletions
diff --git a/ports/argtable2/CONTROL b/ports/argtable2/CONTROL
index 1d9b5bc0e..df44602ee 100644
--- a/ports/argtable2/CONTROL
+++ b/ports/argtable2/CONTROL
@@ -1,3 +1,3 @@
Source: argtable2
-Version: 2.13-1
+Version: 2.13-2
Description: Argtable is an ANSI C library for parsing GNU style command line options with a minimum of fuss.
diff --git a/ports/argtable2/portfile.cmake b/ports/argtable2/portfile.cmake
index 6123335ab..4cbec1278 100644
--- a/ports/argtable2/portfile.cmake
+++ b/ports/argtable2/portfile.cmake
@@ -1,4 +1,7 @@
include(vcpkg_common_functions)
+
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/argtable2-13)
vcpkg_download_distfile(ARCHIVE
URLS "http://prdownloads.sourceforge.net/argtable/argtable2-13.tar.gz"
@@ -17,8 +20,6 @@ vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
- # Due to missing dllexport flags we export all symbols
- -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE
-DCMAKE_DEBUG_POSTFIX=d
)