summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-05-27 18:42:36 +0000
committerpeter <peter@FreeBSD.org>1998-05-27 18:42:36 +0000
commitff9be3e0ff15055bf9ce01f092bca081073a42a0 (patch)
treef430a2a714baaa2840f5b8d63719011c289c1a85 /lib/Makefile
parentd1817d351ae37699891cbdbfbef1f7d89a9dd7c6 (diff)
downloadFreeBSD-src-ff9be3e0ff15055bf9ce01f092bca081073a42a0.zip
FreeBSD-src-ff9be3e0ff15055bf9ce01f092bca081073a42a0.tar.gz
If building and installing libdescrypt, do it first so that the symlinks
point to it rather than libscrypt. This was how it was done prior to libscrypt being added in. This should stop more people getting burnt with the /usr/lib -> /usr/lib/aout transition, and the same when the ELF libs come online.
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Makefile b/lib/Makefile
index cce7453..1d56eab 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 6/4/93
-# $Id: Makefile,v 1.67 1998/05/03 05:06:13 peter Exp $
+# $Id: Makefile,v 1.68 1998/05/13 22:54:03 jb Exp $
# To satisfy shared library or ELF linkage when only the libraries being
# built are visible:
@@ -31,9 +31,10 @@ _libc_r= libc_r
# Build both libraries. They have different names, so no harm,
# and this avoids having stale libscrypt.*
-_libcrypt= libcrypt
.if exists(${.CURDIR}/../secure) && !defined(NOSECURE) && !defined(NOCRYPT)
-_libcrypt+= ../secure/lib/libcrypt
+_libcrypt= ../secure/lib/libcrypt libcrypt
+.else
+_libcrypt= libcrypt
.endif
.if ${MACHINE_ARCH} == "i386"
OpenPOWER on IntegriCloud