mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
Fix configure check for libssh2
* configure.in: add -L$libssh2_path to LIBS for the AC_TRY_LINK check
This commit is contained in:
parent
f0006d9792
commit
11dc7786f4
@ -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);
|
||||
], [
|
||||
|
Loading…
x
Reference in New Issue
Block a user