From dff298135b9b8bbaac1f452a219bb446e50728d1 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 5 Feb 2019 16:21:59 +0100 Subject: [PATCH] Rework build: small correction in unix-Makefile.tmpl Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/8162) --- Configurations/unix-Makefile.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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($_); -- 2.34.1