001-curses-link.patch 364 B

12345678910111213141516
  1. link readline directly to ncurses since it needs symbols from it
  2. upstream readline does this on purpose (no direct linking), but
  3. it doesn't make much sense in a Linux world
  4. --- a/support/shobj-conf
  5. +++ b/support/shobj-conf
  6. @@ -42,7 +42,7 @@ SHOBJ_XLDFLAGS=
  7. SHOBJ_LIBS=
  8. SHLIB_XLDFLAGS=
  9. -SHLIB_LIBS=
  10. +SHLIB_LIBS=-lncurses
  11. SHLIB_DOT='.'
  12. SHLIB_LIBPREF='lib'