From: Richard Levitte Date: Tue, 5 Feb 2019 15:21:59 +0000 (+0100) Subject: Rework build: small correction in unix-Makefile.tmpl X-Git-Tag: openssl-3.0.0-alpha1~2553 X-Git-Url: https://git.librecmc.org/?p=oweals%2Fopenssl.git;a=commitdiff_plain;h=dff298135b9b8bbaac1f452a219bb446e50728d1 Rework build: small correction in unix-Makefile.tmpl Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/8162) --- 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($_);