aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2000-03-06 15:28:30 +0000
committerPeter Wemm <peter@FreeBSD.org>2000-03-06 15:28:30 +0000
commit330bc838abad22715295dd4d2a7c3b029f23bff4 (patch)
treee028ef3eadd7530094a6e0bbe96d325bb89028d7 /lib
parentd4cc3e55b197ffbaa645fad1bcdce1aec119c85a (diff)
downloadsrc-330bc838abad22715295dd4d2a7c3b029f23bff4.tar.gz
src-330bc838abad22715295dd4d2a7c3b029f23bff4.zip
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>
Notes
Notes: svn path=/head/; revision=57785
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 62cf248a2376..d2acebefbdf0 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