Fix configure check for libssh2

* configure.in: add -L$libssh2_path to LIBS for the AC_TRY_LINK check
This commit is contained in:
Matthias Bolte 2009-11-05 23:38:07 +01:00
parent f0006d9792
commit 11dc7786f4

View File

@ -977,7 +977,7 @@ if test "$with_phyp" = "check"; then
if test "$with_phyp" != "no"; then
saved_libs="$LIBS"
LIBS="$LIBS -lssh2"
LIBS="$LIBS -L$libssh2_path -lssh2"
AC_TRY_LINK([#include <libssh2.h>], [
(void) libssh2_session_block_directions(NULL);
], [