diff --git a/libs/sqlite/configure.ac b/libs/sqlite/configure.ac index 75d6f512d1..3522235852 100644 --- a/libs/sqlite/configure.ac +++ b/libs/sqlite/configure.ac @@ -634,6 +634,7 @@ else LIBS="" AC_SEARCH_LIBS(tgetent, [readline ncurses curses termcap]) AC_CHECK_LIB([readline], [readline]) + AC_CHECK_LIB([dl], [dlopen]) TARGET_READLINE_LIBS="$LIBS" fi AC_SUBST(TARGET_READLINE_LIBS)