diff options
author | Richard Levitte <levitte@openssl.org> | 2016-03-19 00:57:35 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-03-19 01:49:31 +0100 |
commit | 769777b0a24c77377c612d84537c40a2b55abfa6 (patch) | |
tree | 05991e8eae7fdde85812824bd865db010b89c5d9 /Configurations/descrip.mms.tmpl | |
parent | 91056e72693b4ee8cb5339d9091871ffc3b6f776 (diff) |
Use the dependencies received in generatesrc()
generatesrc() did already receive dependency information, but never
used it, and never really needed to... until now.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'Configurations/descrip.mms.tmpl')
-rw-r--r-- | Configurations/descrip.mms.tmpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Configurations/descrip.mms.tmpl b/Configurations/descrip.mms.tmpl index 512b8e5a08..32c8d1a3ac 100644 --- a/Configurations/descrip.mms.tmpl +++ b/Configurations/descrip.mms.tmpl @@ -418,10 +418,11 @@ configdata.pm : {- join(" ", sourcefile("Configurations", "descrip.mms.tmpl"), s sub generatesrc { my %args = @_; my $generator = join(" ", @{$args{generator}}); + my $deps = join(", -\n\t\t", @{$args{deps}}); if ($args{src} !~ /\.[sS]$/) { return <<"EOF"; -$args{src} : $args{generator}->[0] +$args{src} : $args{generator}->[0] $deps \$(PERL) $generator > \$@ EOF } else { |