From 11dc7786f45254a6bd8043cec65c89f00bdd935f Mon Sep 17 00:00:00 2001 From: Matthias Bolte Date: Thu, 5 Nov 2009 23:38:07 +0100 Subject: [PATCH] Fix configure check for libssh2 * configure.in: add -L$libssh2_path to LIBS for the AC_TRY_LINK check --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 7afbc7c798..7ad1a90188 100644 --- a/configure.in +++ b/configure.in @@ -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 ], [ (void) libssh2_session_block_directions(NULL); ], [