diff options
author | Richard Levitte <levitte@openssl.org> | 2016-06-28 14:02:44 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-06-28 14:02:44 +0200 |
commit | 850000aa414446b73163d7e723227d5fda5ed4ee (patch) | |
tree | c0e8e997ee5d2f14c0f310ff21b5b3d651bbfd48 /Configurations/windows-makefile.tmpl | |
parent | 57ade5711b8b80c19f3d33f46d0e0acd48e68e0a (diff) |
Build files: don't generate empty action lines in generatedir()
Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'Configurations/windows-makefile.tmpl')
-rw-r--r-- | Configurations/windows-makefile.tmpl | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Configurations/windows-makefile.tmpl b/Configurations/windows-makefile.tmpl index 776109f5d0..aabf7931c7 100644 --- a/Configurations/windows-makefile.tmpl +++ b/Configurations/windows-makefile.tmpl @@ -528,16 +528,15 @@ EOF foreach my $type (("dso", "lib", "bin", "script")) { next unless defined($unified_info{dirinfo}->{$dir}->{products}->{$type}); - if ($type eq "lib") { - foreach my $lib (@{$unified_info{dirinfo}->{$dir}->{products}->{$type}}) { - push @actions, ""; - } - } else { + # For lib object files, we could update the library. However, + # LIB on Windows doesn't work that way, so we won't create any + # actions for it, and the dependencies are already taken care of. + if ($type ne "lib") { foreach my $prod (@{$unified_info{dirinfo}->{$dir}->{products}->{$type}}) { if (dirname($prod) eq $dir) { push @deps, $prod.$extinfo{$type}; } else { - push @actions, "\t@ : No support to produce $type ".join(", ", @{$unified_info{dirinfo}->{$dir}->{products}->{$type}}); + push @actions, "\t@rem No support to produce $type ".join(", ", @{$unified_info{dirinfo}->{$dir}->{products}->{$type}}); } } } |