summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-03-06 15:28:30 +0000
committerpeter <peter@FreeBSD.org>2000-03-06 15:28:30 +0000
commitd441a3a42128d23e617cc12dbc636623a662f9b1 (patch)
tree4f3c325882ddc3445dd5781d526cd3ee37cc45a7 /lib
parent79c5946042428bb65efa1ab2dc9083eb52cdbcc1 (diff)
downloadFreeBSD-src-d441a3a42128d23e617cc12dbc636623a662f9b1.zip
FreeBSD-src-d441a3a42128d23e617cc12dbc636623a662f9b1.tar.gz
Make pam_ssh work. It had an undefined symbol when it was dlopen()ed.
I'm not quite sure about this, I think it should be using -lssh_pic since it's being linked into a .so, but nothing seems to complain ahd it does work. (well, it works for using the authorized_keys file, but I have not figured out how to get it to start a ssh-agent and cache the key for me) PR: 17191 Submitted by: Adrian Pavlykevych <pam@polynet.lviv.ua>
Diffstat (limited to 'lib')
-rw-r--r--lib/libpam/modules/pam_ssh/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpam/modules/pam_ssh/Makefile b/lib/libpam/modules/pam_ssh/Makefile
index 62cf248..d2acebef 100644
--- a/lib/libpam/modules/pam_ssh/Makefile
+++ b/lib/libpam/modules/pam_ssh/Makefile
@@ -8,7 +8,7 @@ SHLIB_NAME= pam_ssh.so
SRCS= log-client.c pam_ssh.c
CFLAGS+= -Wall -I${SSHSRC}
DPADD+= ${LIBCRYPTO} ${LIBCRYPT} ${LIBUTIL} ${LIBZ} ${LIBGCC_PIC}
-LDADD+= -lcrypto -lcrypt -lutil -lz -lgcc_pic
+LDADD+= -L${.OBJDIR}/../../../../secure/lib/libssh -lssh -lcrypto -lcrypt -lutil -lz -lgcc_pic
INTERNALLIB= yes
INTERNALSTATICLIB=yes
OpenPOWER on IntegriCloud