summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-09-05 12:04:31 +0000
committerpeter <peter@FreeBSD.org>1997-09-05 12:04:31 +0000
commitbe5fa44882170641d42910ac344e9122870be5d5 (patch)
treecd88ba7f2e380af4b81f96fc8b60d4a293755857 /usr.bin
parent9d5ac12664fb83bc03eb0b208025bd9db436ecf9 (diff)
downloadFreeBSD-src-be5fa44882170641d42910ac344e9122870be5d5.zip
FreeBSD-src-be5fa44882170641d42910ac344e9122870be5d5.tar.gz
If elf, don't add libmd.a just because we link against libskey.so.
A
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/su/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/su/Makefile b/usr.bin/su/Makefile
index 5c0782c..474a69e 100644
--- a/usr.bin/su/Makefile
+++ b/usr.bin/su/Makefile
@@ -27,8 +27,11 @@ LDADD+= -lkrb -ldes
DISTRIBUTION= krb
.endif
+# Do we have to provide an implementation for libskey.so?
+.if ${BINFORMAT} != elf
LDADD+= -lmd
DPADD+= ${LIBMD}
+.endif
BINOWN= root
BINMODE=4555
OpenPOWER on IntegriCloud