aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/openssl/command-line-length.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/openssl/command-line-length.patch')
-rw-r--r--vcpkg/ports/openssl/command-line-length.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/openssl/command-line-length.patch b/vcpkg/ports/openssl/command-line-length.patch
new file mode 100644
index 0000000..f379d2d
--- /dev/null
+++ b/vcpkg/ports/openssl/command-line-length.patch
@@ -0,0 +1,13 @@
+diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl
+index 8ddb128..52b9ad6 100644
+--- a/Configurations/unix-Makefile.tmpl
++++ b/Configurations/unix-Makefile.tmpl
+@@ -1961,7 +1961,7 @@ EOF
+ my @objs = map { platform->obj($_) } @{$args{objs}};
+ my $deps = join(" \\\n" . ' ' x (length($lib) + 2),
+ fill_lines(' ', $COLUMNS - length($lib) - 2, @objs));
+- my $max_per_call = 500;
++ my $max_per_call = ($^O eq 'msys' || $^O eq 'cygwin') ? 80 : 500;
+ my @objs_grouped;
+ push @objs_grouped, join(" ", splice @objs, 0, $max_per_call) while @objs;
+ my $fill_lib =