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

index b3220c0..414f028 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1501,7 +1501,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";
                }