summaryrefslogtreecommitdiffstats
path: root/secure
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-09-21 14:47:36 +0000
committerpeter <peter@FreeBSD.org>1999-09-21 14:47:36 +0000
commitba51272c69af218e85e8359f568e4b4039bad882 (patch)
tree16db610f0069f50d026bd318e21ec1b414d162f1 /secure
parentad9a3de54d464a5a4b5cdcdce8a9b72cb0c7e5fe (diff)
downloadFreeBSD-src-ba51272c69af218e85e8359f568e4b4039bad882.zip
FreeBSD-src-ba51272c69af218e85e8359f568e4b4039bad882.tar.gz
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.
Diffstat (limited to 'secure')
-rw-r--r--secure/lib/libcrypt/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/secure/lib/libcrypt/Makefile b/secure/lib/libcrypt/Makefile
index 0f87e96..9150791 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
OpenPOWER on IntegriCloud