Commit #16325 fixed one thing but broke DH with certain moduli [from HEAD].
[oweals/openssl.git] / crypto / Makefile
index 879e593d89c54abe1ad4845e0462602508edd477..bb8eaa036c55c9e5ade13b6ca9e43fe8e94edb86 100644 (file)
@@ -1,5 +1,5 @@
 #
-# SSLeay/crypto/Makefile
+# OpenSSL/crypto/Makefile
 #
 
 DIR=           crypto
@@ -94,10 +94,12 @@ links:
        @$(PERL) $(TOP)/util/mklink.pl ../apps $(APPS)
        @target=links; $(RECURSIVE_MAKE)
 
-lib:   $(LIBOBJ)
+# lib: and $(LIB): are splitted to avoid end-less loop
+lib:   $(LIB)
+       @touch lib
+$(LIB):        $(LIBOBJ)
        $(AR) $(LIB) $(LIBOBJ)
        $(RANLIB) $(LIB) || echo Never mind.
-       @touch lib
 
 shared: buildinf.h lib subdirs
        if [ -n "$(SHARED_LIBS)" ]; then \