From 6fd36d7d1184fe799f73904fd1f2586d038c0117 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Tue, 21 Sep 1999 14:47:36 +0000 Subject: [PATCH] Restore SONAME setting, otherwise libdescrypt.so.3 doesn't end up with a special SONAME of libcrypt.so.3 and the runtime symlink doesn't work. --- secure/lib/libcrypt/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/secure/lib/libcrypt/Makefile b/secure/lib/libcrypt/Makefile index 0f87e960e248..91507911c01c 100644 --- a/secure/lib/libcrypt/Makefile +++ b/secure/lib/libcrypt/Makefile @@ -11,6 +11,10 @@ LSCRYPTBASE= lib${LIB} LCRYPTSO= ${LCRYPTBASE}.so.${SHLIB_MAJOR} LSCRYPTSO= ${LSCRYPTBASE}.so.${SHLIB_MAJOR} +.if ${OBJFORMAT} == elf +SONAME= ${LCRYPTSO} +.endif + .PATH: ${.CURDIR}/../../../lib/libmd ${.CURDIR}/../../../lib/libcrypt SRCS= crypt.c crypt-md5.c crypt-shs.c misc.c STATICSRCS= md5c.c sha0c.c sha1c.c