mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 03:18:06 +08:00
[openssl] Fix build with "C:\Program Files\<...>\cl.exe"
(#43089)
This commit is contained in:
parent
d1629a263e
commit
f0a401b174
15
ports/openssl/mkbuildinf.diff
Normal file
15
ports/openssl/mkbuildinf.diff
Normal 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
|
@ -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
|
||||
|
@ -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",
|
||||
|
@ -6766,7 +6766,7 @@
|
||||
},
|
||||
"openssl": {
|
||||
"baseline": "3.4.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"opensubdiv": {
|
||||
"baseline": "3.5.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "facccb0b0c47f9804b6e336096d0985c3e541eec",
|
||||
"version": "3.4.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "ce504a83eb9627d54f1cffdb497a6bf5bd970d18",
|
||||
"version": "3.4.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user