[openssl] Fix build with "C:\Program Files\<...>\cl.exe" (#43089)

This commit is contained in:
Kai Pastor 2025-01-08 17:11:36 +01:00 committed by GitHub
parent d1629a263e
commit f0a401b174
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,15 @@
diff --git a/util/mkbuildinf.pl b/util/mkbuildinf.pl
index a57c80a..5cecf83 100755
--- a/util/mkbuildinf.pl
+++ b/util/mkbuildinf.pl
@@ -9,7 +9,9 @@
use strict;
use warnings;
-my ($cflags, $platform) = @ARGV;
+my $platform = pop @ARGV;
+my $cflags = join(' ', @ARGV);
+$cflags =~ s(\\)(\\\\)g;
$cflags = "compiler: $cflags";
# Use the value of the envvar SOURCE_DATE_EPOCH, even if it's

View File

@ -15,6 +15,7 @@ vcpkg_from_github(
PATCHES
cmake-config.patch
command-line-length.patch
mkbuildinf.diff
script-prefix.patch
asm-armcap.patch
windows/install-layout.patch

View File

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

View File

@ -6766,7 +6766,7 @@
},
"openssl": {
"baseline": "3.4.0",
"port-version": 0
"port-version": 1
},
"opensubdiv": {
"baseline": "3.5.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "facccb0b0c47f9804b6e336096d0985c3e541eec",
"version": "3.4.0",
"port-version": 1
},
{
"git-tree": "ce504a83eb9627d54f1cffdb497a6bf5bd970d18",
"version": "3.4.0",