From b8535c2b1b603940e6892fa396060eedd64eff96 Mon Sep 17 00:00:00 2001 From: markm Date: Sun, 24 Jan 1999 07:51:33 +0000 Subject: Fix symlinking. Without the -f "force" option, the wrong version can be found. Submitted by: Bruce --- lib/libcrypt/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/libcrypt') diff --git a/lib/libcrypt/Makefile b/lib/libcrypt/Makefile index 20d181b..026da79 100644 --- a/lib/libcrypt/Makefile +++ b/lib/libcrypt/Makefile @@ -31,26 +31,26 @@ afterinstall: @cd ${DESTDIR}${SHLIBDIR}; \ if [ ! -e ${LCRYPTSO} ]; then \ rm -f ${LCRYPTSO}; \ - ln -s ${LSCRYPTSO} ${LCRYPTSO}; \ + ln -sf ${LSCRYPTSO} ${LCRYPTSO}; \ fi .endif .if !defined(NOPIC) && ${OBJFORMAT} == elf @cd ${DESTDIR}${SHLIBDIR}; \ if [ ! -e ${LCRYPTBASE}.so ]; then \ rm -f ${LCRYPTBASE}.so; \ - ln -s ${LSCRYPTBASE}.so libcrypt.so; \ + ln -sf ${LSCRYPTBASE}.so libcrypt.so; \ fi .endif @cd ${DESTDIR}${LIBDIR}; \ if [ ! -e ${LCRYPTBASE}.a ]; then \ rm -f ${LCRYPTBASE}.a; \ - ln -s ${LSCRYPTBASE}.a libcrypt.a; \ + ln -sf ${LSCRYPTBASE}.a libcrypt.a; \ fi .if !defined(NOPROFILE) @cd ${DESTDIR}${LIBDIR}; \ if [ ! -e ${LCRYPTBASE}_p.a ]; then \ rm -f ${LCRYPTBASE}_p.a; \ - ln -s ${LSCRYPTBASE}_p.a libcrypt_p.a; \ + ln -sf ${LSCRYPTBASE}_p.a libcrypt_p.a; \ fi .endif -- cgit v1.1