When fipscanister is external ensure it is included in libcrypto.a
[oweals/openssl.git] / fips / Makefile
index 314a6274620e3e528f17bf1fa7e1a9726abb21ee..8976e82ec3c36a576c2c058135532a6583955cdf 100644 (file)
@@ -139,6 +139,7 @@ links:
 
 # lib: and $(LIB): are splitted to avoid end-less loop
 lib:   $(LIB)
+       [ "$(FIPSCANISTERINTERNAL)" = "n" ] && $(AR) ../$(FIPSCANLIB).a $(FIPSCANLOC)
        @touch lib
 
 $(LIB):        $(FIPSLIBDIR)fipscanister.o