From 0c1bb43df39a9cd0256d742c8de47b53b0db2bfc Mon Sep 17 00:00:00 2001 From: Mingli Yu Date: Tue, 12 Apr 2022 08:38:08 +0800 Subject: readline: add config file for pkgconfig After bind upgrade to 9.18.x, the below change introduced [1], all supported libraries have accompanying .pc files now. ba2376b9e0 Update and cleanup the readline library support Otherwise, there comes below error during do_configure. $ bitbake bind | configure: error: Package requirements (readline) were not met: | | No package 'readline' found So backport patches [2] to add support .pc file for readline to fix the above issue. [1] https://gitlab.isc.org/isc-projects/bind9/-/commit/ba2376b9e03b9bd214242c987609a658ef24ec41 [2] https://git.savannah.gnu.org/cgit/readline.git/commit/?id=d49a9082c0e15bba8cd3d8cc0a994409cf823cac Signed-off-by: Mingli Yu Signed-off-by: Richard Purdie --- recipes-core/readline/readline-5.2/readline.pc.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 recipes-core/readline/readline-5.2/readline.pc.in (limited to 'recipes-core/readline/readline-5.2/readline.pc.in') diff --git a/recipes-core/readline/readline-5.2/readline.pc.in b/recipes-core/readline/readline-5.2/readline.pc.in new file mode 100644 index 0000000..ff79d71 --- /dev/null +++ b/recipes-core/readline/readline-5.2/readline.pc.in @@ -0,0 +1,12 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: Readline +Description: Gnu Readline library for command line editing +URL: http://tiswww.cwru.edu/php/chet/readline/rltop.html +Version: @LIBVERSION@ +Requires.private: @TERMCAP_PKG_CONFIG_LIB@ +Libs: -L${libdir} -lreadline +Cflags: -I${includedir} -- cgit v1.2.3-54-g00ecf