summaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2018-03-22 15:21:33 +0100
committerRich Salz <rsalz@openssl.org>2018-03-22 15:53:22 +0100
commit8390062853513e1b42cac98078db184bc6100ca7 (patch)
tree78860aba4103eb313e2e58b2e0bfffc05baa38bf /Configure
parentinclude/openssl/rand.h: omit intermediate typedef. (diff)
downloadopenssl-8390062853513e1b42cac98078db184bc6100ca7.tar.xz
openssl-8390062853513e1b42cac98078db184bc6100ca7.zip
Fix resource files
Add it to apps as well as libraries. Fix the copyright year generation. Thanks to user RTT for pointing this out. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5704)
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/Configure b/Configure
index 0934088d2d..ce33f488d6 100755
--- a/Configure
+++ b/Configure
@@ -2015,6 +2015,13 @@ EOF
$o = cleanfile($buildd, $o, $blddir);
$unified_info{sources}->{$ddest}->{$o} = 1;
$unified_info{sources}->{$o}->{$s} = 1;
+ } elsif ($s =~ /\.rc$/) {
+ # We also recognise resource files
+ my $o = $_;
+ $o =~ s/\.rc$/.res/; # Resource configuration
+ my $o = cleanfile($buildd, $o, $blddir);
+ $unified_info{sources}->{$ddest}->{$o} = 1;
+ $unified_info{sources}->{$o}->{$s} = 1;
} else {
$unified_info{sources}->{$ddest}->{$s} = 1;
}