From 0a60ee129b9137a9a5cd49c4dd15247830a7f319 Mon Sep 17 00:00:00 2001 From: Jan Kara Date: Fri, 20 Aug 2021 18:12:04 +0200 Subject: [PATCH] libss: add newer libreadline.so.8 to dlopen path OpenSUSE Tumbleweed now has libreadline.so.8. Add it to the list of libs to look for. Signed-off-by: Jan Kara --- lib/ss/get_readline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ss/get_readline.c b/lib/ss/get_readline.c index 11c72b3387d1..aa1615747934 100644 --- a/lib/ss/get_readline.c +++ b/lib/ss/get_readline.c @@ -37,7 +37,7 @@ static void ss_release_readline(ss_data *info) #endif /* Libraries we will try to use for readline/editline functionality */ -#define DEFAULT_LIBPATH "libreadline.so.7:libreadline.so.6:libreadline.so.5:libreadline.so.4:libreadline.so:libedit.so.2:libedit.so:libeditline.so.0:libeditline.so" +#define DEFAULT_LIBPATH "libreadline.so.8:libreadline.so.7:libreadline.so.6:libreadline.so.5:libreadline.so.4:libreadline.so:libedit.so.2:libedit.so:libeditline.so.0:libeditline.so" #ifdef HAVE_DLOPEN void ss_get_readline(int sci_idx) -- 2.26.2