mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-15 01:29:18 +08:00
[openssl] fix cross compilation with mingw (#17246)
* [openssl] fix cross compilation with mingw When cross compiling openssl on Linux, e.g. ./vcpkg install openssl:x64-mingw-dynamic failed, because 'windres' was not found. The call to openssl's Configure was missing the WINDRES environment variable, which is needed in case it is prefixed. On Ubuntu the binutils-mingw-w64-x86-64 package installed it as /usr/bin/x86_64-w64-mingw32-windres. Since mingw uses openssl-unix to build, it's worth mentioning that the WINDRES env has no impact for non-mingw and is ignored there. * Handle conflicts * Update version files * Update ports/openssl/unix/CMakeLists.txt * Update versions/o-/openssl.json * Update versions/o-/openssl.json Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com> Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com> Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
This commit is contained in:
parent
a151bfd989
commit
b28d77ada2
@ -167,6 +167,7 @@ if(NOT IOS)
|
||||
COMMAND ${ENV_COMMAND} RANLIB=${CMAKE_RANLIB}
|
||||
COMMAND ${ENV_COMMAND} MAKE=${MAKE}
|
||||
COMMAND ${ENV_COMMAND} MAKEDEPPROG=${CMAKE_C_COMPILER}
|
||||
COMMAND ${ENV_COMMAND} WINDRES=${CMAKE_RC_COMPILER}
|
||||
VERBATIM
|
||||
APPEND
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "openssl",
|
||||
"version-string": "1.1.1l",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"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"
|
||||
}
|
||||
|
@ -4902,7 +4902,7 @@
|
||||
},
|
||||
"openssl": {
|
||||
"baseline": "1.1.1l",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"openssl-unix": {
|
||||
"baseline": "1.1.1h",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "d5310e60291032390ab8c893794f6044a7b9ae04",
|
||||
"version-string": "1.1.1l",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "6d19a647704efae9398b178a0012140c1f1ee8b8",
|
||||
"version-string": "1.1.1l",
|
||||
|
Loading…
x
Reference in New Issue
Block a user