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

index 6799735274c687a6a26f5c35522f971b1ac7ffc4..3aa88295e3a9e8e30dd366b947a475a06e4ac9d5 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1500,7 +1500,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";
                }