On Tue, Aug 18, 2015 at 11:38:08PM +0100, Richard W.M. Jones wrote:
> guestfish uses APIs from readline and libtinfo directly.  It does not
> use ncurses APIs directly.

> So it is overlinked, but IIRC that's because you had to use
> `-lreadline -lncurses' to make readline work properly on some old
> systems.

Yeah, that was needed to allow the applications to make a choice
between libtermcap and libncurses.

> Can we replace that with `-lreadline'?
> 
> Are there any implications for a program which actually uses
> termcap/libtinfo functions also?

If guestfish does need the terminfo functions, I think it should be
linked with libtinfo or libncurses (on systems where libtinfo is not
separated from libncurses).

-- 
Miroslav Lichvar
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to