[Openssl] Fix mingw build (#17456)

* Use 'MINGW' when in CMake project mode

* Bump port-version, format manifest

* x-add-version
This commit is contained in:
Kai Pastor 2021-05-06 23:00:37 +02:00 committed by GitHub
parent 2a4749e8ad
commit d66dae4134
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 6 deletions

View File

@ -1,4 +0,0 @@
Source: openssl
Version: 1.1.1k
Homepage: https://www.openssl.org
Description: OpenSSL is an open source project that provides a robust, commercial-grade, and full-featured toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols. It is also a general-purpose cryptography library.

View File

@ -106,7 +106,7 @@ if(BUILD_SHARED_LIBS)
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin" OR CMAKE_SYSTEM_NAME STREQUAL "iOS")
set(LIB_EXT dylib)
set(LIB_EXTS ${SHLIB_VERSION}.${LIB_EXT})
elseif(VCPKG_TARGET_IS_MINGW)
elseif(MINGW)
string(REPLACE "." "_" SHLIB_VERSION "${SHLIB_VERSION}")
set(BIN_EXT dll)
set(LIB_EXT dll.a)

7
ports/openssl/vcpkg.json Normal file
View File

@ -0,0 +1,7 @@
{
"name": "openssl",
"version-string": "1.1.1k",
"port-version": 1,
"description": "OpenSSL is an open source project that provides a robust, commercial-grade, and full-featured toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols. It is also a general-purpose cryptography library.",
"homepage": "https://www.openssl.org"
}

View File

@ -4542,7 +4542,7 @@
},
"openssl": {
"baseline": "1.1.1k",
"port-version": 0
"port-version": 1
},
"openssl-unix": {
"baseline": "1.1.1h",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "24a9f866c10144f3dcce1b8972d43170cfad3201",
"version-string": "1.1.1k",
"port-version": 1
},
{
"git-tree": "dc279487c79f2b009333d7888799f3f9f83d8765",
"version-string": "1.1.1k",