diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2018-11-14 20:43:49 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2018-11-14 20:43:49 +0000 |
commit | 52dcaf9211f7648dc55e40d5a71db76dc8f6bd0e (patch) | |
tree | f87deedc6a4f590c4da4c09ae73e9c0ece0abf9a /gnu/lib | |
parent | 9c4130047f2f6557285b8f9594b4777e8a0f1509 (diff) |
Record an inter-library dependency on libcurses in libedit and libreadline,
avoiding runtime failures on architectures using ld.lld. Also add a note to
libcurses shlib_version reminding about bumps (as done with libcrypto/libssl).
Thanks guenther@ for suggestions of tests involving library bumps and jca@
for doing these tests and hint about DPADD.
Looks good kettenis@, ok jca@
Diffstat (limited to 'gnu/lib')
-rw-r--r-- | gnu/lib/libreadline/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/lib/libreadline/Makefile b/gnu/lib/libreadline/Makefile index 621844f808a..d9604069c5b 100644 --- a/gnu/lib/libreadline/Makefile +++ b/gnu/lib/libreadline/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.7 2004/08/09 16:53:15 pefo Exp $ +# $OpenBSD: Makefile,v 1.8 2018/11/14 20:43:48 sthen Exp $ LIB= readline SRCS= readline.c funmap.c keymaps.c vi_mode.c parens.c rltty.c complete.c \ @@ -10,6 +10,8 @@ HDRS= readline.h chardefs.h keymaps.h history.h tilde.h rlstdc.h rlconf.h \ rltypedefs.h SUBDIR= doc CPPFLAGS+=-DHAVE_CONFIG_H -I${.CURDIR} +LDADD+= -L${BSDOBJDIR}/lib/libcurses -ltermcap +DPADD+= ${LIBTERMCAP} includes: ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \ |