diff --git a/crypto/Makefile b/crypto/Makefile index 0f2d3b4cd..cd21731e1 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: