aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libedit/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libedit/Makefile b/lib/libedit/Makefile
index 8863e80a1b97..5284c2135ce6 100644
--- a/lib/libedit/Makefile
+++ b/lib/libedit/Makefile
@@ -7,6 +7,7 @@ OSRCS= chared.c common.c el.c emacs.c hist.c key.c map.c parse.c \
help.c fcns.c help.h
LDADD+= -ltermcap
+DPADD+= ${LIBTERMCAP}
# For speed and debugging
#SRCS= ${OSRCS} tokenizer.c history.c
@@ -49,6 +50,6 @@ editline.c: ${OSRCS}
test: test.o libedit.a ${DPADD} ${LIBTERMCAP}
- ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} libedit.a ${LDADD} -ltermcap
+ ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} libedit.a ${LDADD}
.include <bsd.lib.mk>