From 7f2993c7feeb596eb39a482f15e7f8653a33fd00 Mon Sep 17 00:00:00 2001 From: jhay Date: Sat, 30 May 1998 07:32:28 +0000 Subject: Add a test to see if the secure directory exists, before deciding which crypt library should be used when building bootstrap-libraries. This make it work on machines that don't have the secure directory. Thanks to Paul Allenby for bringing it to my attention. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d23843c..5cb132b 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.188 1998/05/29 05:14:08 jkh Exp $ +# $Id: Makefile,v 1.189 1998/05/29 05:15:47 jkh Exp $ # # While porting to the another architecture include the bootstrap instead # of the normal build. @@ -634,7 +634,7 @@ _csu=lib/csu/${MACHINE} # Build the "default" libcrypt first since it sets symlinks for static # binaries such as /sbin/init. lib/Makefile builds the other if needed. -.if !defined(NOSECURE) && !defined(NOCRYPT) +.if exists(secure) && !defined(NOSECURE) && !defined(NOCRYPT) _libcrypt= secure/lib/libcrypt .else _libcrypt= lib/libcrypt -- cgit v1.1