diff options
author | markm <markm@FreeBSD.org> | 2001-04-28 08:06:33 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2001-04-28 08:06:33 +0000 |
commit | 3fd4820a392c002003951246503569efd4d5562e (patch) | |
tree | 418ca7997548c44f204bf78b49bfbbdb3eab1579 /usr.bin/login/Makefile | |
parent | 6cecf95d7df4b463e4b78746d853f22f3a689d16 (diff) | |
download | FreeBSD-src-3fd4820a392c002003951246503569efd4d5562e.zip FreeBSD-src-3fd4820a392c002003951246503569efd4d5562e.tar.gz |
Enable (optional) static linking.
Diffstat (limited to 'usr.bin/login/Makefile')
-rw-r--r-- | usr.bin/login/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/login/Makefile b/usr.bin/login/Makefile index 970e591..820ca6e 100644 --- a/usr.bin/login/Makefile +++ b/usr.bin/login/Makefile @@ -21,3 +21,8 @@ INSTALLFLAGS=-fschg NEED_LIBNAMES= yes .include <bsd.prog.mk> + +.if defined(NOSHARED) && !defined(NOPAM) +DPADD+= ${LIBCRYPTO} +LDADD+= -L${.OBJDIR}/../../secure/lib/libssh/ -lssh -lcrypto +.endif |