Replace "ld_wildcard_args" with "bin_lflags"

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/13540)
This commit is contained in:
Tanzinul Islam 2020-11-28 02:11:28 +00:00 committed by Dmitry Belyavskiy
parent 847f41d97c
commit d5a6b54b49
3 changed files with 8 additions and 8 deletions

View File

@ -1283,7 +1283,7 @@ my %targets = (
ldoutflag => "/out:",
ldpostoutflag => "",
ld_resp_delim => "\n",
ld_wildcard_args => "setargv.obj",
bin_lflags => "setargv.obj",
AR => "lib",
ARFLAGS => "/nologo",
aroutflag => "/out:",

View File

@ -15,15 +15,15 @@ my %targets = (
release => "-O2"),
coutflag => "-o",
LD => "ilink32",
lflags => picker(default => "-ap -Tpe -x -Gn -q",
debug => '-j"$(BDS)\lib\win32c\debug" ' .
'-L"$(BDS)\lib\win32c\debug"',
release => '-j"$(BDS)\lib\win32c\release" ' .
'-L"$(BDS)\lib\win32c\release"'),
bin_lflags => combine(picker(default => "-ap -Tpe -x -Gn -q",
debug => '-j"$(BDS)\lib\win32c\debug" ' .
'-L"$(BDS)\lib\win32c\debug"',
release => '-j"$(BDS)\lib\win32c\release" ' .
'-L"$(BDS)\lib\win32c\release"'),
"wildargs.obj"),
ldoutflag => ",",
ldpostoutflag => ",,",
ld_resp_delim => " +\n",
ld_wildcard_args => "wildargs.obj",
ex_libs => add(sub {
my @ex_libs = ();
push @ex_libs, ("cw32mt.lib", "import32.lib", "crypt32.lib",

View File

@ -936,7 +936,7 @@ EOF
$bin: $deps
IF EXIST $bin.manifest DEL /F /Q $bin.manifest
\$(LD) \$(LDFLAGS) \$(BIN_LDFLAGS) @<<
$objs$target{ld_resp_delim}$target{ld_wildcard_args}$target{ld_resp_delim}\$(LDOUTFLAG)$bin$target{ldpostoutflag}$target{ld_resp_delim}$linklibs\$(BIN_EX_LIBS)
$objs$target{ld_resp_delim}\$(LDOUTFLAG)$bin$target{ldpostoutflag}$target{ld_resp_delim}$linklibs\$(BIN_EX_LIBS)
<<
IF EXIST $bin.manifest \\
\$(MT) \$(MTFLAGS) \$(MTINFLAG)$bin.manifest \$(MTOUTFLAG)$bin