Hello,

for our cross-buildsystem PTXdist, we carry this patch for readline-5.2, which
seems to apply to 6.0, too.

I was wondering if it might be interesting for you.

Kind regards and a happy new year :)

   Wolfram

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
From: Marc Kleine-Budde <[email protected]>
Subject: always link against our $termcap libraries

This way our $user doesn't need to know wich $termcap library
we linked against.

Signed-off-by: Marc Kleine-Budde <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
---
 shlib/Makefile.in |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: readline-5.2/shlib/Makefile.in
===================================================================
--- readline-5.2.orig/shlib/Makefile.in
+++ readline-5.2/shlib/Makefile.in
@@ -164,11 +164,11 @@ unsupported:
 
 $(SHARED_READLINE):	$(SHARED_OBJ)
 	$(RM) $@
-	$(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_OBJ) $(SHLIB_LIBS)
+	$(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_OBJ) $(SHLIB_LIBS) $(TERMCAP_LIB)
 
 $(SHARED_HISTORY):	$(SHARED_HISTOBJ) xmalloc.so
 	$(RM) $@
-	$(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_HISTOBJ) xmalloc.so $(SHLIB_LIBS)
+	$(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_HISTOBJ) xmalloc.so $(SHLIB_LIBS) $(TERMCAP_LIB)
 
 # Since tilde.c is shared between readline and bash, make sure we compile 
 # it with the right flags when it's built as part of readline

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Bug-readline mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to