aboutsummaryrefslogtreecommitdiff
path: root/ports/jbigkit
diff options
context:
space:
mode:
Diffstat (limited to 'ports/jbigkit')
-rw-r--r--ports/jbigkit/CMakeLists.txt2
-rw-r--r--ports/jbigkit/CONTROL6
-rw-r--r--ports/jbigkit/portfile.cmake5
3 files changed, 6 insertions, 7 deletions
diff --git a/ports/jbigkit/CMakeLists.txt b/ports/jbigkit/CMakeLists.txt
index 79bb11a2b..2b82410b6 100644
--- a/ports/jbigkit/CMakeLists.txt
+++ b/ports/jbigkit/CMakeLists.txt
@@ -1,8 +1,6 @@
cmake_minimum_required(VERSION 3.4)
project(libjbig C)
-set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
-
set(SOURCES
"libjbig/jbig.c"
"libjbig/jbig_ar.c"
diff --git a/ports/jbigkit/CONTROL b/ports/jbigkit/CONTROL
index f0a7cc426..f21907db4 100644
--- a/ports/jbigkit/CONTROL
+++ b/ports/jbigkit/CONTROL
@@ -1,3 +1,3 @@
-Source: jbigkit
-Version: 2.1-1
-Description: A software implementation of the JBIG1 data compression standard (ITU-T T.82)
+Source: jbigkit
+Version: 2.1-3
+Description: A software implementation of the JBIG1 data compression standard (ITU-T T.82)
diff --git a/ports/jbigkit/portfile.cmake b/ports/jbigkit/portfile.cmake
index 5781de29b..9e63a426f 100644
--- a/ports/jbigkit/portfile.cmake
+++ b/ports/jbigkit/portfile.cmake
@@ -1,5 +1,7 @@
include(vcpkg_common_functions)
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
set(JBIGKIT_VERSION 2.1)
set(JBIGKIT_HASH c4127480470ef90db1ef3bd2caa444df10b50ed8df0bc9997db7612cb48b49278baf44965028f1807a21028eb965d677e015466306b44683c4ec75a23e1922cf)
@@ -17,11 +19,10 @@ vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA)
-vcpkg_build_cmake()
vcpkg_install_cmake()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/jbigkit)
-file(RENAME ${CURRENT_PACKAGES_DIR}/share/jbigkit/COPYING ${CURRENT_PACKAGES_DIR}/share/jbigkit/copyright) \ No newline at end of file
+file(RENAME ${CURRENT_PACKAGES_DIR}/share/jbigkit/COPYING ${CURRENT_PACKAGES_DIR}/share/jbigkit/copyright)