summaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-10-04 17:41:51 +0200
committerRichard Levitte <levitte@openssl.org>2018-10-05 08:22:42 +0200
commit05a72c28b20c665206a6c6793cbcc10b8d74a526 (patch)
tree1832d4f750e0fe3861c01f78672badb4e9b1ff8c /Configure
parent66a24ab86816c240279d238aca41c68d57ead35c (diff)
Configure: use correct variable to infer the .ld file location
We didn't notice the error because it all happened in the top directory. Now that we use .ld files in subdirectories, the bug became apparent. Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/7347)
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/Configure b/Configure
index de4ca6868b..2e81640e7a 100755
--- a/Configure
+++ b/Configure
@@ -2079,7 +2079,7 @@ EOF
} elsif ($s =~ /\.ld$/) {
# We also recognise linker scripts (or corresponding)
# We know they are generated files
- my $ld = cleanfile($buildd, $s, $blddir);
+ my $ld = cleanfile($buildd, $_, $blddir);
$unified_info{shared_sources}->{$ddest}->{$ld} = 1;
} else {
die "unrecognised source file type for shared library: $s\n";