[libvirt] [PATCH 1/9] Fix configure check for libssh2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* configure.in: add -L$libssh2_path to LIBS for the AC_TRY_LINK check
---
 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.in b/configure.in
index 7afbc7c..7ad1a90 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 <libssh2.h>], [
             (void) libssh2_session_block_directions(NULL);
         ], [
-- 
1.6.0.4

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]