Use || instead of && so build doesn't fail.

This commit is contained in:
Dr. Stephen Henson 2011-05-26 22:10:28 +00:00
parent a168ec1d27
commit ae6cb5483e
2 changed files with 2 additions and 2 deletions

View File

@ -286,7 +286,7 @@ build_testapps:
@dir=crypto; target=testapps; $(BUILD_ONE_CMD) @dir=crypto; target=testapps; $(BUILD_ONE_CMD)
fips_premain_dso$(EXE_EXT): libcrypto.a fips_premain_dso$(EXE_EXT): libcrypto.a
[ -n "$(FIPSCANLIB)" ] && $(CC) $(CFLAGS) \ [ -z "$(FIPSCANLIB)" ] || $(CC) $(CFLAGS) \
-DFINGERPRINT_PREMAIN_DSO_LOAD -o $@ \ -DFINGERPRINT_PREMAIN_DSO_LOAD -o $@ \
$(FIPSLIBDIR)fips_premain.c $(FIPSLIBDIR)fipscanister.o \ $(FIPSLIBDIR)fips_premain.c $(FIPSLIBDIR)fipscanister.o \
libcrypto.a $(EX_LIBS) libcrypto.a $(EX_LIBS)

View File

@ -102,7 +102,7 @@ lib: $(LIB)
@touch lib @touch lib
$(LIB): $(LIBOBJ) $(LIB): $(LIBOBJ)
$(AR) $(LIB) $(LIBOBJ) $(AR) $(LIB) $(LIBOBJ)
[ -n "$(FIPSLIBDIR)" ] && $(AR) $(LIB) $(FIPSLIBDIR)fipscanister.o [ -z "$(FIPSLIBDIR)" ] || $(AR) $(LIB) $(FIPSLIBDIR)fipscanister.o
$(RANLIB) $(LIB) || echo Never mind. $(RANLIB) $(LIB) || echo Never mind.
shared: buildinf.h lib subdirs shared: buildinf.h lib subdirs