aboutsummaryrefslogtreecommitdiff
path: root/ports/http-parser
diff options
context:
space:
mode:
Diffstat (limited to 'ports/http-parser')
-rw-r--r--ports/http-parser/CMakeLists.txt4
-rw-r--r--ports/http-parser/CONTROL6
-rw-r--r--ports/http-parser/portfile.cmake7
3 files changed, 8 insertions, 9 deletions
diff --git a/ports/http-parser/CMakeLists.txt b/ports/http-parser/CMakeLists.txt
index 284c8e903..cf3961cb7 100644
--- a/ports/http-parser/CMakeLists.txt
+++ b/ports/http-parser/CMakeLists.txt
@@ -1,10 +1,6 @@
cmake_minimum_required(VERSION 3.4)
project(http-parser C)
-if(BUILD_SHARED_LIBS)
- set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
-endif()
-
if(CMAKE_BUILD_TYPE MATCHES "Release")
add_definitions(-DHTTP_PARSER_STRICT=0)
endif()
diff --git a/ports/http-parser/CONTROL b/ports/http-parser/CONTROL
index c50a53849..486b2a78c 100644
--- a/ports/http-parser/CONTROL
+++ b/ports/http-parser/CONTROL
@@ -1,3 +1,3 @@
-Source: http-parser
-Version: 2.9.0
-Description: HTTP Parser. \ No newline at end of file
+Source: http-parser
+Version: 2.9.2
+Description: HTTP Parser.
diff --git a/ports/http-parser/portfile.cmake b/ports/http-parser/portfile.cmake
index 5e9929789..8a208a5e7 100644
--- a/ports/http-parser/portfile.cmake
+++ b/ports/http-parser/portfile.cmake
@@ -1,9 +1,12 @@
include(vcpkg_common_functions)
+
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO nodejs/http-parser
- REF v2.9.0
- SHA512 40acecbf71b9f0b4ae857c74c3ec0784d7f341a0cb83cf82b308387d0c5b56d38b282241aaf8ca93816970f2a9e67989f3d9d456459f3986c29fe51ab520155e
+ REF v2.9.2
+ SHA512 fe21ba46c9297b55a6382497b689da2af88999a9a5716ffef0731057ce1bb053056e4f20147284c78338e48ed1a793a0270fe0edfe3f4b589926e3ede603d023
HEAD_REF master
)