Configurations/windows-makefile.tmpl: obj2bin(): use the resource file too
authorRichard Levitte <levitte@openssl.org>
Thu, 21 Oct 2021 07:35:07 +0000 (09:35 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 27 Oct 2021 13:26:42 +0000 (15:26 +0200)
When remaking how programs were linked, the variable `$ress` was forgotten.
Unfortunately, perl treats this with silence.

Fixes #16870
Fixes #16667

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16875)

Configurations/windows-makefile.tmpl

index 78d39ffb4b23bdc6dc76a9ac405644e7e6c4c6aa..81a94ee19ff9821e5e57f9e8d5da8938bad6796e 100644 (file)
@@ -983,6 +983,7 @@ EOF
                 @{$args{objs}};
      my @deps = compute_lib_depends(@{$args{deps}});
      my $objs = join($target{ld_resp_delim}, @objs);
+     my $ress = join($target{ld_resp_delim}, @ress);
      my $linklibs = join("", map { "$_$target{ld_resp_delim}" } @deps);
      my $deps = join(" ", @objs, @ress, @deps);
      return <<"EOF";