X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/061b7ebd7d69db7674f03025d552fa0bedd0fef8..e12f8c3248614077e92c7ba23386e1f36d570c8f:/src/src/exim.c diff --git a/src/src/exim.c b/src/src/exim.c index a0b3e78b4..670319b98 100644 --- a/src/src/exim.c +++ b/src/src/exim.c @@ -1078,9 +1078,9 @@ set_readline(char * (**fn_readline_ptr)(const char *), void (**fn_addhist_ptr)(const char *)) { void *dlhandle; -void *dlhandle_curses = dlopen("libcurses.so", RTLD_GLOBAL|RTLD_LAZY); +void *dlhandle_curses = dlopen("libcurses." DYNLIB_FN_EXT, RTLD_GLOBAL|RTLD_LAZY); -dlhandle = dlopen("libreadline.so", RTLD_GLOBAL|RTLD_NOW); +dlhandle = dlopen("libreadline." DYNLIB_FN_EXT, RTLD_GLOBAL|RTLD_NOW); if (dlhandle_curses != NULL) dlclose(dlhandle_curses); if (dlhandle != NULL)