From: Dr. Stephen Henson Date: Tue, 22 Feb 2011 12:34:46 +0000 (+0000) Subject: Make "make links" work in fipscanisteronly builds. X-Git-Tag: OpenSSL-fips-2_0-rc1~711 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3e446ba347da311d58842f4488cf24ee4d0d95bf;p=oweals%2Fopenssl.git Make "make links" work in fipscanisteronly builds. --- diff --git a/Makefile.fips b/Makefile.fips index 52aa542a46..245b5922dd 100644 --- a/Makefile.fips +++ b/Makefile.fips @@ -522,8 +522,8 @@ files: links: @$(PERL) $(TOP)/util/mkdir-p.pl include/openssl @$(PERL) $(TOP)/util/mklink.pl include/openssl $(EXHEADER) - $(MAKE) -C fips links - SDIRS='$(LINKDIRS)' $(MAKE) -C crypto links + $(BUILDENV) $(MAKE) -C fips links + $(BUILDENV) SDIRS='$(LINKDIRS)' $(MAKE) -C crypto links gentests: @(cd test && echo "generating dummy tests (if needed)..." && \ diff --git a/crypto/evp/Makefile b/crypto/evp/Makefile index bae87dd755..4b809c0c89 100644 --- a/crypto/evp/Makefile +++ b/crypto/evp/Makefile @@ -65,7 +65,7 @@ files: links: @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) - cp $(TESTDATA) ../../test + [ ! -f $(TESTDATA) ] || cp $(TESTDATA) ../../test @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) install: