diff options
author | Tanzinul Islam <tanzinul.islam@gmail.com> | 2020-11-07 21:49:47 +0100 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2021-04-19 11:05:54 +0200 |
commit | e15eff3aaabe17be37ec42ae7ca342cbf2a2733c (patch) | |
tree | 26f06c11fe96cd13928a33499c6fb5193bf4c00d /Configurations/windows-makefile.tmpl | |
parent | Avoid space between "-I" and include directory (diff) | |
download | openssl-e15eff3aaabe17be37ec42ae7ca342cbf2a2733c.tar.xz openssl-e15eff3aaabe17be37ec42ae7ca342cbf2a2733c.zip |
Generalize delimiter in archiver response file
While [`lib.exe` of MSVC][1] expects newline-delimited response file
lines, [`tlib.exe` of C++Builder][2] expects lines to end with `&` in
order to read the next line.
[1]: https://docs.microsoft.com/cpp/build/reference/running-lib?view=msvc-160#lib-command-files
[2]: http://docwiki.embarcadero.com/RADStudio/Sydney/en/TLIB.EXE,_the_Library_Manager#Response_Files
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/13540)
Diffstat (limited to '')
-rw-r--r-- | Configurations/windows-makefile.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Configurations/windows-makefile.tmpl b/Configurations/windows-makefile.tmpl index b6fd9149c0..5d1d77b3d2 100644 --- a/Configurations/windows-makefile.tmpl +++ b/Configurations/windows-makefile.tmpl @@ -909,7 +909,7 @@ EOF my %args = @_; my $lib = platform->staticlib($args{lib}); my @objs = map { platform->obj($_) } @{$args{objs}}; - my $objs = join("\n", @objs); + my $objs = join($target{ar_resp_delim}, @objs); my $deps = join(" ", @objs); return <<"EOF"; $lib: $deps |