Postpone linking of shared libcrypto in FIPS build.
authorAndy Polyakov <appro@openssl.org>
Thu, 9 Dec 2004 18:03:23 +0000 (18:03 +0000)
committerAndy Polyakov <appro@openssl.org>
Thu, 9 Dec 2004 18:03:23 +0000 (18:03 +0000)
crypto/Makefile

index 0f2d3b4cdb47b6384e75ae937fcdf299701e5c9e..cd21731e1731cc1b57a8f0c86bbf28db5ecccd00 100644 (file)
@@ -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: