From 3e446ba347da311d58842f4488cf24ee4d0d95bf Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 22 Feb 2011 12:34:46 +0000 Subject: [PATCH] Make "make links" work in fipscanisteronly builds. --- Makefile.fips | 4 ++-- crypto/evp/Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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: -- 2.34.1