summaryrefslogtreecommitdiff
path: root/Configurations/unix-Makefile.tmpl
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-02-05 16:21:59 +0100
committerRichard Levitte <levitte@openssl.org>2019-02-11 16:50:47 +0100
commitdff298135b9b8bbaac1f452a219bb446e50728d1 (patch)
tree082cf5c70b39ce7518c9e555a24f9d914c886d4a /Configurations/unix-Makefile.tmpl
parentfb82cbfe3da846d61e1d4c6d14bf7f4111cccbb2 (diff)
downloadopenssl-new-dff298135b9b8bbaac1f452a219bb446e50728d1.tar.gz
Rework build: small correction in unix-Makefile.tmpl
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8162)
Diffstat (limited to 'Configurations/unix-Makefile.tmpl')
-rw-r--r--Configurations/unix-Makefile.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl
index 41794f0337..7705b03b8e 100644
--- a/Configurations/unix-Makefile.tmpl
+++ b/Configurations/unix-Makefile.tmpl
@@ -1194,7 +1194,7 @@ EOF
push @linkdirs, $d unless grep { $d eq $_ } @linkdirs;
}
my $linkflags = join("", map { "-L$_ " } @linkdirs);
- my $linklibs = join("", map { if ($_ =~ s/\.a$//) {
+ my $linklibs = join("", map { if ($_ =~ m/\.a$/) {
" ".platform->staticlib($_);
} else {
my $f = basename($_);