]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix configure check for libssh2
authorMatthias Bolte <matthias.bolte@googlemail.com>
Thu, 5 Nov 2009 22:38:07 +0000 (23:38 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 6 Nov 2009 20:28:48 +0000 (21:28 +0100)
* configure.in: add -L$libssh2_path to LIBS for the AC_TRY_LINK check

configure.in

index 7afbc7c798ac7e592a86796523c9734bdd9b4cf8..7ad1a9018877e55850dd48b3e400147fa000f50a 100644 (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);
         ], [