]> granicus.if.org Git - openssl/commitdiff
Fix Windows build.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 12 Jun 2014 09:48:24 +0000 (10:48 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 12 Jun 2014 09:52:49 +0000 (10:52 +0100)
util/mk1mf.pl

index af1904b536f7e906b0c1b84ba29e15270e65fbca..67da0ae5620039af6b397dcf7ac63edf50014b35 100755 (executable)
@@ -404,10 +404,13 @@ for (;;)
        }
 close(IN);
 
-# Remove opensslconf.h so it doesn't get updated if we configure a
-# different branch.
-$exheader =~ s/[^ ]+\/opensslconf.h//;
-$header =~ s/[^ ]+\/opensslconf.h//;
+if ($orig_platform eq 'copy')
+       {
+       # Remove opensslconf.h so it doesn't get updated if we configure a
+       # different branch.
+       $exheader =~ s/[^ ]+\/opensslconf.h//;
+       $header =~ s/[^ ]+\/opensslconf.h//;
+       }
 
 if ($shlib)
        {