From: Dr. Stephen Henson Date: Thu, 12 Jun 2014 09:48:24 +0000 (+0100) Subject: Fix Windows build. X-Git-Tag: OpenSSL_1_0_2-beta2~131 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3fe8f005b09509d6205b375088d6c522f7383894;p=openssl Fix Windows build. --- diff --git a/util/mk1mf.pl b/util/mk1mf.pl index af1904b536..67da0ae562 100755 --- a/util/mk1mf.pl +++ b/util/mk1mf.pl @@ -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) {