From bd5a2195def9d6dd9eaed0bf2d4f6074005012d3 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Thu, 9 Dec 2004 18:03:23 +0000 Subject: [PATCH] Postpone linking of shared libcrypto in FIPS build. --- crypto/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crypto/Makefile b/crypto/Makefile index 0f2d3b4cdb..cd21731e17 100644 --- a/crypto/Makefile +++ b/crypto/Makefile @@ -95,7 +95,9 @@ lib: $(LIBOBJ) shared: buildinf.h lib subdirs if [ -n "$(SHARED_LIBS)" ]; then \ + if ! egrep 'define OPENSSL_FIPS' $(TOP)/include/openssl/opensslconf.h > /dev/null; then \ (cd ..; $(MAKE) $(SHARED_LIB)); \ + fi \ fi libs: -- 2.25.1