aboutsummaryrefslogtreecommitdiff
path: root/ports/jsonnet
diff options
context:
space:
mode:
Diffstat (limited to 'ports/jsonnet')
-rw-r--r--ports/jsonnet/CMakeLists.txt4
-rw-r--r--ports/jsonnet/CONTROL6
-rw-r--r--ports/jsonnet/portfile.cmake2
3 files changed, 5 insertions, 7 deletions
diff --git a/ports/jsonnet/CMakeLists.txt b/ports/jsonnet/CMakeLists.txt
index 4f749e5b8..5056191c1 100644
--- a/ports/jsonnet/CMakeLists.txt
+++ b/ports/jsonnet/CMakeLists.txt
@@ -5,10 +5,6 @@ if(MSVC)
add_compile_options(/W3 /wd4005 /wd4996 /wd4018 -D_CRT_SECURE_NO_WARNINGS)
endif()
-if(BUILD_SHARED_LIBS)
- set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
-endif()
-
set( jsonnet_sources
core/desugarer.cpp
core/formatter.cpp
diff --git a/ports/jsonnet/CONTROL b/ports/jsonnet/CONTROL
index 49618f59e..22906cdfb 100644
--- a/ports/jsonnet/CONTROL
+++ b/ports/jsonnet/CONTROL
@@ -1,3 +1,3 @@
-Source: jsonnet
-Version: 2018-11-01-2
-Description: Jsonnet - The data templating language
+Source: jsonnet
+Version: 2018-11-01-3
+Description: Jsonnet - The data templating language
diff --git a/ports/jsonnet/portfile.cmake b/ports/jsonnet/portfile.cmake
index ee3c43890..4ae28a70d 100644
--- a/ports/jsonnet/portfile.cmake
+++ b/ports/jsonnet/portfile.cmake
@@ -1,5 +1,7 @@
include(vcpkg_common_functions)
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO google/jsonnet