aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-03-28 12:08:22 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-03-28 12:08:22 +0000
commit4ecbb303465d9a56a783068c2bcd2cf6255b6d4f (patch)
tree76b10b0143fafad620c24bc602b75b051186f1c9 /usr.bin
parent1005a129e5ff4af4709d281023e8a101a28fcb82 (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/telnet/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/telnet/Makefile b/usr.bin/telnet/Makefile
index 7ff18c8da0c3..0458220ca370 100644
--- a/usr.bin/telnet/Makefile
+++ b/usr.bin/telnet/Makefile
@@ -41,8 +41,14 @@ CFLAGS+=-DENV_HACK
CFLAGS+=-DSKEY
CFLAGS+=-I${.CURDIR}/../../lib
+.if exists(${.OBJDIR}/../../lib/libtelnet)
+LIBTELNET= ${.OBJDIR}/../../lib/libtelnet/libtelnet.a
+.else
+LIBTELNET= ${.CURDIR}/../../lib/libtelnet/libtelnet.a
+.endif
+
DPADD= ${LIBTERMCAP} ${LIBTELNET}
-LDADD= -ltermcap -ltelnet
+LDADD= -ltermcap ${LIBTELNET}
.if !defined(RELEASE_CRUNCH)
CFLAGS+=-DINET6