[openssl] Enforce cmd for nmake (#37716)

Fixes https://github.com/microsoft/vcpkg/issues/37134.
Fixes https://github.com/microsoft/vcpkg/issues/35949.
This commit is contained in:
Kai Pastor 2024-03-27 22:54:54 +01:00 committed by GitHub
parent be9eb66945
commit 84e008654e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 12 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{
"name": "openssl",
"version": "3.2.1",
"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",
"license": "Apache-2.0",

View File

@ -1,3 +1,8 @@
# Need cmd to pass quoted CC from nmake to mkbuildinf.pl, GH-37134
find_program(CMD_EXECUTABLE cmd HINTS ENV PATH NO_DEFAULT_PATH REQUIRED)
cmake_path(NATIVE_PATH CMD_EXECUTABLE cmd)
set(ENV{COMSPEC} "${cmd}")
vcpkg_find_acquire_program(PERL)
get_filename_component(PERL_EXE_PATH "${PERL}" DIRECTORY)
vcpkg_add_to_path("${PERL_EXE_PATH}")

View File

@ -6486,7 +6486,7 @@
},
"openssl": {
"baseline": "3.2.1",
"port-version": 1
"port-version": 2
},
"openssl-unix": {
"baseline": "deprecated",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "4d41de10fe318363c031b97457b7b6d473020a18",
"version": "3.2.1",
"port-version": 2
},
{
"git-tree": "3dc6df970a3aff9c977032299e481fd9872e0970",
"version": "3.2.1",