mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 23:05:49 +01:00
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:
parent
0f09aefa00
commit
cb997c9220
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38753
@ -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; \
|
||||
|
Loading…
Reference in New Issue
Block a user