aboutsummaryrefslogtreecommitdiff
path: root/vcpkg-ports/openssl/windows/flags.patch
diff options
context:
space:
mode:
authorJean-Francois Mauguit <jfmauguit@mac.com>2024-09-24 09:03:25 -0400
committerGitHub <noreply@github.com>2024-09-24 09:03:25 -0400
commitbab614c421ed7ae329d26bf028c4a3b1d2450f5a (patch)
tree12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /vcpkg-ports/openssl/windows/flags.patch
parent4bde6044fddf053f31795b9eaccdd2a5a527d21f (diff)
parent20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (diff)
downloadwinamp-bab614c421ed7ae329d26bf028c4a3b1d2450f5a.tar.gz
Merge pull request #5 from WinampDesktop/community
Merge to main
Diffstat (limited to 'vcpkg-ports/openssl/windows/flags.patch')
-rw-r--r--vcpkg-ports/openssl/windows/flags.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/vcpkg-ports/openssl/windows/flags.patch b/vcpkg-ports/openssl/windows/flags.patch
new file mode 100644
index 00000000..69b203c0
--- /dev/null
+++ b/vcpkg-ports/openssl/windows/flags.patch
@@ -0,0 +1,35 @@
+diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf
+index 66bc81d..2364633 100644
+--- a/Configurations/10-main.conf
++++ b/Configurations/10-main.conf
+@@ -1302,7 +1302,7 @@ my %targets = (
+ inherit_from => [ "BASE_Windows" ],
+ template => 1,
+ CC => "cl",
+- CPP => '"$(CC)" /EP /C',
++ CPP => '$(CC) /EP /C',
+ CFLAGS => "/W3 /wd4090 /nologo",
+ coutflag => "/Fo",
+ LD => "link",
+diff --git a/Configure b/Configure
+index 8b234f6..e031768 100644
+--- a/Configure
++++ b/Configure
+@@ -680,7 +680,7 @@ my $list_separator_re =
+ # (we supported those before the change to "make variable" support.
+ my %user = (
+ AR => env('AR'),
+- ARFLAGS => [],
++ ARFLAGS => [ env('ARFLAGS') || () ],
+ AS => undef,
+ ASFLAGS => [],
+ CC => env('CC'),
+@@ -693,7 +693,7 @@ my %user = (
+ CPPINCLUDES => [], # Alternative for -I
+ CROSS_COMPILE => env('CROSS_COMPILE'),
+ HASHBANGPERL=> env('HASHBANGPERL') || env('PERL'),
+- LD => undef,
++ LD => env('LD'),
+ LDFLAGS => [ env('LDFLAGS') || () ], # -L, -Wl,
+ LDLIBS => [ env('LDLIBS') || () ], # -l
+ MT => undef,