diff options
| author | Jackie Ng <jumpinjackie@gmail.com> | 2019-05-07 03:46:58 +1000 |
|---|---|---|
| committer | Victor Romero <romerosanchezv@gmail.com> | 2019-05-06 10:46:58 -0700 |
| commit | 7028438a759bdaa9bdfa79986c752b0fbeca1c8d (patch) | |
| tree | 8d3b27918fdb0d06ff7f7fdccd76b7cd0ca5fd22 | |
| parent | d70c4e356cd999a24620b6565c3e4f8a24514ba5 (diff) | |
| download | vcpkg-7028438a759bdaa9bdfa79986c752b0fbeca1c8d.tar.gz vcpkg-7028438a759bdaa9bdfa79986c752b0fbeca1c8d.zip | |
[libpq]: Fix linkage with static openssl (#6309)
* [libpq]: Add crypt32 to linker set. This allows libpq to link against static openssl.
* Bump portfile version
| -rw-r--r-- | ports/libpq/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | ports/libpq/CONTROL | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/libpq/CMakeLists.txt b/ports/libpq/CMakeLists.txt index 13c129317..3d5d6e508 100644 --- a/ports/libpq/CMakeLists.txt +++ b/ports/libpq/CMakeLists.txt @@ -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) diff --git a/ports/libpq/CONTROL b/ports/libpq/CONTROL index ac0793b13..54b2259e8 100644 --- a/ports/libpq/CONTROL +++ b/ports/libpq/CONTROL @@ -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) |
