From 7bd6d5e7cfc850a73fa7b94fafed8d8052b7ff2d Mon Sep 17 00:00:00 2001 From: Peter Wemm 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