From cea76d59bd2abcaa1e2c9ad6eaece6c1c6f77bab Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Wed, 15 Dec 2021 16:52:49 -0800 Subject: [PATCH] SCP: Add newer baseline libreadline support. --- scp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scp.c b/scp.c index 3497c8ff..1e98eabe 100644 --- a/scp.c +++ b/scp.c @@ -10107,6 +10107,8 @@ if (prompt && (!initialized)) { handle = dlopen("libncurses." S__STR(SIM_HAVE_DLOPEN), RTLD_NOW|RTLD_GLOBAL); handle = dlopen("libcurses." S__STR(SIM_HAVE_DLOPEN), RTLD_NOW|RTLD_GLOBAL); handle = dlopen("libreadline." S__STR(SIM_HAVE_DLOPEN), RTLD_NOW|RTLD_GLOBAL); + if (!handle) + handle = dlopen("libreadline." S__STR(SIM_HAVE_DLOPEN) ".8", RTLD_NOW|RTLD_GLOBAL); if (!handle) handle = dlopen("libreadline." S__STR(SIM_HAVE_DLOPEN) ".7", RTLD_NOW|RTLD_GLOBAL); if (!handle)