diff options
Diffstat (limited to 'ports/libmicrohttpd')
| -rw-r--r-- | ports/libmicrohttpd/CONTROL | 2 | ||||
| -rw-r--r-- | ports/libmicrohttpd/portfile.cmake | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ports/libmicrohttpd/CONTROL b/ports/libmicrohttpd/CONTROL index c1a76d5f9..3a77ac72b 100644 --- a/ports/libmicrohttpd/CONTROL +++ b/ports/libmicrohttpd/CONTROL @@ -1,6 +1,6 @@ Source: libmicrohttpd
Version: 0.9.63
-Port-Version: 4
+Port-Version: 5
Homepage: https://www.gnu.org/software/libmicrohttpd/
Description: GNU libmicrohttpd is a small C library that is supposed to make it easy to run an HTTP server as part of another application
Supports: !(arm|uwp)
\ No newline at end of file diff --git a/ports/libmicrohttpd/portfile.cmake b/ports/libmicrohttpd/portfile.cmake index e055a246a..993ba722b 100644 --- a/ports/libmicrohttpd/portfile.cmake +++ b/ports/libmicrohttpd/portfile.cmake @@ -33,6 +33,9 @@ if (VCPKG_TARGET_IS_WINDOWS) file(GLOB MICROHTTPD_HEADERS ${SOURCE_PATH}/src/include/microhttpd*.h) file(COPY ${MICROHTTPD_HEADERS} DESTINATION ${CURRENT_PACKAGES_DIR}/include) else() + if(VCPKG_TARGET_IS_OSX AND VCPKG_LIBRARY_LINKAGE STREQUAL "static") + set(ENV{LIBS} "$ENV{LIBS} -framework Foundation -framework AppKit") # TODO: Get this from the extracted cmake vars somehow + endif() vcpkg_configure_make( SOURCE_PATH "${SOURCE_PATH}" ) |
