X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=Configurations%2Funix-Makefile.tmpl;h=7705b03b8e286df29b61e98849665c2453a31091;hp=41794f0337549d7eb4b7db18698996d213ac0110;hb=dff298135b9b8bbaac1f452a219bb446e50728d1;hpb=fb82cbfe3da846d61e1d4c6d14bf7f4111cccbb2;ds=sidebyside 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($_);