mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 03:10:57 +08:00
[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:
parent
2a4749e8ad
commit
d66dae4134
@ -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.
|
@ -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
7
ports/openssl/vcpkg.json
Normal 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"
|
||||
}
|
@ -4542,7 +4542,7 @@
|
||||
},
|
||||
"openssl": {
|
||||
"baseline": "1.1.1k",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"openssl-unix": {
|
||||
"baseline": "1.1.1h",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "24a9f866c10144f3dcce1b8972d43170cfad3201",
|
||||
"version-string": "1.1.1k",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "dc279487c79f2b009333d7888799f3f9f83d8765",
|
||||
"version-string": "1.1.1k",
|
||||
|
Loading…
x
Reference in New Issue
Block a user