xfs
[Top] [All Lists]

[PATCH] libxcmd: link against readline

To: xfs@xxxxxxxxxxx
Subject: [PATCH] libxcmd: link against readline
From: Mike Frysinger <vapier@xxxxxxxxxx>
Date: Sat, 25 Aug 2012 19:07:30 -0400
This library uses readline funcs (the input.c file), so we need to link
this shared library against it.

URL: https://bugs.gentoo.org/432644
Reported-by: David Badia <dbadia@xxxxxxxxx>
Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
---
 libxcmd/Makefile |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libxcmd/Makefile b/libxcmd/Makefile
index b3544f4..ce082a5 100644
--- a/libxcmd/Makefile
+++ b/libxcmd/Makefile
@@ -22,10 +22,12 @@ endif
 
 ifeq ($(ENABLE_READLINE),yes)
 LCFLAGS += -DENABLE_READLINE
+LTLIBS += $(LIBREADLINE) $(LIBTERMCAP)
 endif
 
 ifeq ($(ENABLE_EDITLINE),yes)
 LCFLAGS += -DENABLE_EDITLINE
+LTLIBS += $(LIBEDITLINE) $(LIBTERMCAP)
 endif
 
 default: ltdepend $(LTLIBRARY)
-- 
1.7.9.7

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] libxcmd: link against readline, Mike Frysinger <=