pass in linker flags too

This commit is contained in:
Michael Jerris 2014-02-24 14:47:04 -05:00
parent ffa14f323e
commit 7c100cc8d3
1 changed files with 1 additions and 1 deletions

View File

@ -635,7 +635,7 @@ else
AC_SEARCH_LIBS(tgetent, [readline ncurses curses termcap])
AC_CHECK_LIB([readline], [readline])
AC_CHECK_LIB([dl], [dlopen])
TARGET_READLINE_LIBS="$LIBS"
TARGET_READLINE_LIBS="$LDFLAGS $LIBS"
fi
AC_SUBST(TARGET_READLINE_LIBS)