Fixed the elf case of the creation of the libcrypt.so -> libscrypt->so

link.  Shared libraries are in ${SHLIBDIR}, not necessarily in ${LIBDIR}.
This commit is contained in:
Bruce Evans 1998-09-02 15:09:15 +00:00
parent 0f09aefa00
commit cb997c9220
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38753

View File

@ -1,5 +1,5 @@
#
# $Id: Makefile,v 1.12 1998/08/30 01:48:55 jb Exp $
# $Id: Makefile,v 1.13 1998/08/30 02:43:45 jb Exp $
#
LCRYPTBASE= libcrypt
@ -35,7 +35,7 @@ afterinstall:
fi
.endif
.if !defined(NOPIC) && ${OBJFORMAT} == elf
@cd ${DESTDIR}${LIBDIR}; \
@cd ${DESTDIR}${SHLIBDIR}; \
if [ ! -e ${LCRYPTBASE}.so ]; then \
rm -f ${LCRYPTBASE}.so; \
ln -s ${LSCRYPTBASE}.so libcrypt.so; \