summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnu/lib/libreadline/Makefile3
-rw-r--r--lib/libedit/Makefile2
2 files changed, 4 insertions, 1 deletions
diff --git a/gnu/lib/libreadline/Makefile b/gnu/lib/libreadline/Makefile
index a9f6c70..87bed66 100644
--- a/gnu/lib/libreadline/Makefile
+++ b/gnu/lib/libreadline/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.12 1994/06/11 15:18:01 paul Exp $
+# $Id: Makefile,v 1.13 1994/06/12 08:50:39 ache Exp $
CFLAGS+= -I${.CURDIR} -DVOID_SIGHANDLER \
@@ -11,6 +11,7 @@ SRCS+= readline.c funmap.c keymaps.c vi_mode.c parens.c \
history.c search.c tilde.c xmalloc.c
HEADERS= history.h readline.h keymaps.h chardefs.h tilde.h
NOMAN= noman
+LDADD+= -ltermcap
beforeinstall:
@-if [ ! -d ${DESTDIR}/usr/include/readline ]; then \
diff --git a/lib/libedit/Makefile b/lib/libedit/Makefile
index f9e2780..5880204 100644
--- a/lib/libedit/Makefile
+++ b/lib/libedit/Makefile
@@ -6,6 +6,8 @@ OSRCS= chared.c common.c el.c emacs.c hist.c key.c map.c parse.c \
prompt.c read.c refresh.c search.c sig.c term.c tty.c vi.c \
help.c fcns.c help.h
+LDADD+= -ltermcap
+
# For speed and debugging
#SRCS= ${OSRCS} tokenizer.c history.c
# For protection
OpenPOWER on IntegriCloud