From a7e8350ec8aa45f5f68f76606c468b80f8dd28a7 Mon Sep 17 00:00:00 2001 From: peter Date: Fri, 5 Sep 1997 11:52:20 +0000 Subject: [PATCH] If building under elf, have libskey.so depend on libmd and libcrypt. --- lib/libskey/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/libskey/Makefile b/lib/libskey/Makefile index 6e3fe9292e5e..63df390abf7b 100644 --- a/lib/libskey/Makefile +++ b/lib/libskey/Makefile @@ -11,6 +11,11 @@ MAN5= skey.access.5 CFLAGS+=-DPERMIT_CONSOLE -D_SKEY_INTERNAL -I${.CURDIR} +.if ${BINFORMAT} == elf +DPADD+= ${LIBCRYPT} ${LIBMD} +LDADD+= -lcrypt -lmd +.endif + beforeinstall: ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/skey.h \ ${DESTDIR}/usr/include