summaryrefslogtreecommitdiffstats
path: root/lib/libcrypt
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-09-21 14:44:27 +0000
committerpeter <peter@FreeBSD.org>1999-09-21 14:44:27 +0000
commitea4af6448d890be569fb18bf4b3eaaf57af5e6dc (patch)
treea15663b8cc93e2e179e8c5d63e1be3a18c8809bf /lib/libcrypt
parent3d501990862034a697cc2cae3486d70409d09006 (diff)
downloadFreeBSD-src-ea4af6448d890be569fb18bf4b3eaaf57af5e6dc.zip
FreeBSD-src-ea4af6448d890be569fb18bf4b3eaaf57af5e6dc.tar.gz
Somebody deleted the SONAME override causing the symlink to be expanded
at link time and the target name compiled into the binaries. ie: everything used libscrypt or libdescrypt explicitly.
Diffstat (limited to 'lib/libcrypt')
-rw-r--r--lib/libcrypt/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libcrypt/Makefile b/lib/libcrypt/Makefile
index 338853d..25d2549 100644
--- a/lib/libcrypt/Makefile
+++ b/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}/../libmd
SRCS= crypt.c crypt-md5.c crypt-shs.c misc.c
STATICSRCS= md5c.c sha0c.c sha1c.c
OpenPOWER on IntegriCloud