mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 17:53:03 +08:00
[libpq]: Fix linkage with static openssl (#6309)
* [libpq]: Add crypt32 to linker set. This allows libpq to link against static openssl. * Bump portfile version
This commit is contained in:
parent
d70c4e356c
commit
7028438a75
@ -141,7 +141,7 @@ endif()
|
||||
|
||||
target_link_libraries(libpq PRIVATE OpenSSL::SSL)
|
||||
if(WIN32)
|
||||
target_link_libraries(libpq PRIVATE ws2_32 secur32 advapi32 shell32)
|
||||
target_link_libraries(libpq PRIVATE ws2_32 secur32 advapi32 shell32 crypt32)
|
||||
endif()
|
||||
target_include_directories(libpq PRIVATE src/include src/port ${CMAKE_CURRENT_BINARY_DIR}/include)
|
||||
set_target_properties(libpq PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||||
|
@ -1,4 +1,4 @@
|
||||
Source: libpq
|
||||
Version: 9.6.1-6
|
||||
Version: 9.6.1-7
|
||||
Description: The official database access API of postgresql
|
||||
Build-Depends: openssl, zlib (linux)
|
||||
|
Loading…
Reference in New Issue
Block a user