OSDN Git Service

libss: add newer libreadline to dlopen path
authorEric Sandeen <sandeen@redhat.com>
Tue, 26 Jan 2010 04:19:38 +0000 (22:19 -0600)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 6 Feb 2010 03:50:10 +0000 (22:50 -0500)
Rawhide now has libreadline.so.6 ... add it to the ever-expanding
list of libs to look for.

Unfortunately without commit 06ef971be505678ee462ae1844204ed24f14aedc
this fails in a rather cryptic way.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ss/get_readline.c

index 16679a3..4421052 100644 (file)
@@ -36,7 +36,7 @@ static void ss_release_readline(ss_data *info)
 }
 
 /* Libraries we will try to use for readline/editline functionality */
-#define DEFAULT_LIBPATH "libreadline.so.5:libreadline.so.4:libreadline.so:libedit.so.2:libedit.so:libeditline.so.0:libeditline.so"
+#define DEFAULT_LIBPATH "libreadline.so.6:libreadline.so.5:libreadline.so.4:libreadline.so:libedit.so.2:libedit.so:libeditline.so.0:libeditline.so"
 
 void ss_get_readline(int sci_idx)
 {