From b75ff26d7b34c2ed335e2feb47e8f5ed4a4840c4 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 23 May 2012 00:39:01 +0000 Subject: [PATCH] Don't install fips_standalone_sha1.exe if it isn't being built --- util/mk1mf.pl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/util/mk1mf.pl b/util/mk1mf.pl index 70b176c872..e2e9ffd086 100755 --- a/util/mk1mf.pl +++ b/util/mk1mf.pl @@ -576,9 +576,14 @@ if ($fipscanisteronly) \$(CP) \"fips${o}fips_premain.c.sha1\" \"\$(INSTALLTOP)${o}lib\" \$(CP) \"\$(INCO_D)${o}fips.h\" \"\$(INSTALLTOP)${o}include${o}openssl\" \$(CP) \"\$(INCO_D)${o}fips_rand.h\" \"\$(INSTALLTOP)${o}include${o}openssl\" - \$(CP) "\$(BIN_D)${o}fips_standalone_sha1$exep" \"\$(INSTALLTOP)${o}bin\" \$(CP) \"util${o}fipslink.pl\" \"\$(INSTALLTOP)${o}bin\" EOF + if ($fips_sha1_exe_build) + { + $extra_install .= <<"EOF"; + \$(CP) "\$(BIN_D)${o}fips_standalone_sha1$exep" \"\$(INSTALLTOP)${o}bin\" +EOF + } } elsif ($shlib) { -- 2.25.1