diff options
author | Tanzinul Islam <tanzinul.islam@gmail.com> | 2020-11-19 17:57:46 +0000 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2021-04-19 11:05:54 +0200 |
commit | a75a87561b491fc9b96b15153eba1f5e142280c5 (patch) | |
tree | 837e5fb001eb74b10a6265633b9f5901355ee00f /Configurations/10-main.conf | |
parent | 830cd025b199fab165a378884fb5b4373799bde9 (diff) |
Generalize link rule in windows-makefile.tmpl
C++Builder's [`ilink32.exe`][1] expects its different types of input /
output files to be in a particular sequence and comma-separated -- even
in the response file as experimentation revealed, contrary to what is
documented. The lines of the response file need to end with `+`.
Also [`setargv.obj`][2] is MSVC-specific. The C++Builder equivalent is
[`wildargs.obj`][3].
[1]: http://docwiki.embarcadero.com/RADStudio/Sydney/en/Using_ILINK32_and_ILINK64_on_the_Command_Line
[2]: https://docs.microsoft.com/en-us/cpp/c-language/expanding-wildcard-arguments?view=msvc-160
[3]: http://docwiki.embarcadero.com/RADStudio/Sydney/en/Wildcard_Arguments
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 'Configurations/10-main.conf')
-rw-r--r-- | Configurations/10-main.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index fbab220360..f65fd30e5d 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -1281,6 +1281,9 @@ my %targets = ( LD => "link", LDFLAGS => "/nologo /debug", ldoutflag => "/out:", + ldpostoutflag => "", + ld_resp_delim => "\n", + ld_wildcard_args => "setargv.obj", AR => "lib", ARFLAGS => "/nologo", aroutflag => "/out:", |