From f40a876b02ecf29cf188d6f76960d202d9478a08 Mon Sep 17 00:00:00 2001 From: John Hay Date: Sat, 30 May 1998 07:32:28 +0000 Subject: [PATCH] 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(-) diff --git a/Makefile b/Makefile index d23843c54e2b..5cb132bf79e1 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