diff options
Diffstat (limited to 'ports/http-parser')
| -rw-r--r-- | ports/http-parser/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | ports/http-parser/CONTROL | 6 | ||||
| -rw-r--r-- | ports/http-parser/portfile.cmake | 3 |
3 files changed, 6 insertions, 7 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..da02d8dc1 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.0-1
+Description: HTTP Parser.
diff --git a/ports/http-parser/portfile.cmake b/ports/http-parser/portfile.cmake index 5e9929789..e65980b6e 100644 --- a/ports/http-parser/portfile.cmake +++ b/ports/http-parser/portfile.cmake @@ -1,4 +1,7 @@ include(vcpkg_common_functions) + +vcpkg_check_linkage(ONLY_STATIC_LIBRARY) + vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO nodejs/http-parser |
