diff options
author | Ben Laurie <ben@links.org> | 2014-05-24 15:42:18 +0100 |
---|---|---|
committer | Ben Laurie <ben@links.org> | 2014-05-24 15:42:18 +0100 |
commit | 894172f207437cb7564e8cd5f7b50f7cbfd068e1 (patch) | |
tree | b0f5a5bb5ae933172442d548cfbcf5689e0ce24e /util/mk1mf.pl | |
parent | c5f0b9bd8650a92eac1ef2fa28c726bbbc272904 (diff) | |
download | openssl-894172f207437cb7564e8cd5f7b50f7cbfd068e1.tar.gz |
Only copy opensslconf.h at init time.
Diffstat (limited to 'util/mk1mf.pl')
-rwxr-xr-x | util/mk1mf.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/util/mk1mf.pl b/util/mk1mf.pl index 90ae84b2f6..3da139dd32 100755 --- a/util/mk1mf.pl +++ b/util/mk1mf.pl @@ -455,6 +455,11 @@ 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 ($fips) { @@ -756,6 +761,7 @@ $banner # This needs to be invoked once, when the makefile is first constructed, or # after cleaning. init: \$(TMP_D) \$(LIB_D) \$(INC_D) \$(INCO_D) \$(BIN_D) \$(TEST_D) headers + \$(PERL) \$(SRC_D)/util/copy-if-different.pl "\$(SRC_D)/crypto/opensslconf.h" "\$(INCO_D)/opensslconf.h" headers: \$(HEADER) \$(EXHEADER) |