summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--secure/usr.bin/ssh/Makefile4
-rw-r--r--secure/usr.sbin/sshd/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/secure/usr.bin/ssh/Makefile b/secure/usr.bin/ssh/Makefile
index d79f44f..e891b6b 100644
--- a/secure/usr.bin/ssh/Makefile
+++ b/secure/usr.bin/ssh/Makefile
@@ -12,8 +12,8 @@ SRCS= ssh.c authfd.c hostfile.c msg.c readconf.c clientloop.c sshtty.c \
.if !defined(NO_KERBEROS)
CFLAGS+= -DKRB5 -DHEIMDAL
-LDADD+= -lkrb5 -lasn1 -lcom_err -lmd -L${.OBJDIR}/../../../kerberos5/lib/libroken -lroken -lcrypt
-DPADD+= ${LIBKRB5} ${LIBCOM_ERR} ${LIBASN1} ${LIBMD} ${LIBCRYPT}
+LDADD+= -lkrb5 -lasn1 -lcom_err -lmd -lroken -lcrypt
+DPADD+= ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${LIBROKEN} ${LIBCRYPT}
.endif
.if defined(X11BASE)
diff --git a/secure/usr.sbin/sshd/Makefile b/secure/usr.sbin/sshd/Makefile
index dc10924..0f2bc2a 100644
--- a/secure/usr.sbin/sshd/Makefile
+++ b/secure/usr.sbin/sshd/Makefile
@@ -19,8 +19,8 @@ CFLAGS+=-I${SSHDIR}
.if !defined(NO_KERBEROS)
CFLAGS+= -DKRB5 -DHEIMDAL
SRCS+= auth-krb5.c
-LDADD+= -lkrb5 -lasn1 -lcom_err -lmd -L${.OBJDIR}/../../../kerberos5/lib/libroken -lroken
-DPADD+= ${LIBKRB5} ${LIBCOM_ERR} ${LIBASN1} ${LIBMD}
+LDADD+= -lkrb5 -lasn1 -lcom_err -lmd -lroken
+DPADD+= ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${LIBROKEN}
.endif
LDADD+= -lopie -lmd
OpenPOWER on IntegriCloud