diff options
author | peter <peter@FreeBSD.org> | 1997-09-05 11:52:20 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-09-05 11:52:20 +0000 |
commit | 09cd0a0b656988c0fb599c4b2b88d8ff9876a220 (patch) | |
tree | 26948f99efa5a43e8ba5a49cf5ec51fba3d533f1 /lib/libskey | |
parent | 62978560dae1debdec598424c46367babc1ef85b (diff) | |
download | FreeBSD-src-09cd0a0b656988c0fb599c4b2b88d8ff9876a220.zip FreeBSD-src-09cd0a0b656988c0fb599c4b2b88d8ff9876a220.tar.gz |
If building under elf, have libskey.so depend on libmd and libcrypt.
Diffstat (limited to 'lib/libskey')
-rw-r--r-- | lib/libskey/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libskey/Makefile b/lib/libskey/Makefile index 6e3fe92..63df390 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 |