Don't replace whole AR line
authorDr. Stephen Henson <steve@openssl.org>
Wed, 28 Oct 2009 15:33:06 +0000 (15:33 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 28 Oct 2009 15:33:06 +0000 (15:33 +0000)
Configure

index eea7efda9d9355dabd537cbdf3a87a889f71f824..6fdd8550f41342192686f2730c6b45baf2666091 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1508,7 +1508,7 @@ while (<IN>)
                }
        else    {
                s/^CC=.*$/CC= $cc/;
-               s/^AR=.*/AR= $ar/;
+               s/^AR=\s*ar/AR= $ar/;
                s/^RANLIB=.*/RANLIB= $ranlib/;
                }
        s/^MAKEDEPPROG=.*$/MAKEDEPPROG= $cc/ if $cc eq "gcc";