aboutsummaryrefslogtreecommitdiff
path: root/secure/lib
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-09-21 14:47:36 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-09-21 14:47:36 +0000
commit6fd36d7d1184fe799f73904fd1f2586d038c0117 (patch)
tree2354ae353db7d1a9331fff20daa0ef8928f1368b /secure/lib
parentf3baa77e5e54502ea2ffb9cdf975465f745466e9 (diff)
downloadsrc-6fd36d7d1184fe799f73904fd1f2586d038c0117.tar.gz
src-6fd36d7d1184fe799f73904fd1f2586d038c0117.zip
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.
Notes
Notes: svn path=/head/; revision=51507
Diffstat (limited to 'secure/lib')
-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 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