crypto/bn/asm/s390x.S: drop redundant instructions [from HEAD].
[openssl.git] / Configure
index e3b13b9d43557e451514ba65fd071379837ce866..f2dde19fac490bfd39d15314bdf600b9262ba9a7 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1093,6 +1093,12 @@ my $ar = $ENV{'AR'} || "ar";
 my $arflags = $fields[$idx_arflags];
 my $multilib = $fields[$idx_multilib];
 
+# if $prefix/lib$multilib is not an existing directory, then
+# assume that it's not searched by linker automatically, in
+# which case adding $multilib suffix causes more grief than
+# we're ready to tolerate, so don't...
+$multilib="" if !-d "$prefix/lib$multilib";
+
 $libdir="lib$multilib" if $libdir eq "";
 
 $cflags = "$cflags$exp_cflags";