From a5dddcb5160fe406abe429d747440272715d892a Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sun, 19 Apr 2020 07:54:14 +0000 Subject: Fix readline.pc that incorrectly referenced termcap git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11814 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/readline.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'chapter06') diff --git a/chapter06/readline.xml b/chapter06/readline.xml index 7f5b2191a..bcefab042 100644 --- a/chapter06/readline.xml +++ b/chapter06/readline.xml @@ -53,8 +53,24 @@ sed -i '/{OLDSUFF}/c:' support/shlib-install ./configure --prefix=/usr \ --disable-static \ + --with-curses \ --docdir=/usr/share/doc/readline-&readline-version; + + The meaning of the configure option: + + + --with-curses" + + This option tells Readline that it can find the termcap + library functions in the curses library, rather than a separate + termcap library. It allows generating a correct + readline.pc file. + + + + + Compile the package: make SHLIB_LIBS="-L/tools/lib -lncursesw" -- cgit v1.2.3-54-g00ecf