mirror of
https://github.com/libssh2/libssh2.git
synced 2025-08-10 06:23:02 +03:00
configure: gcrypt doesn't come with pkg-config support
... so use plain old -lgcrypt to the linker to link with it. Fixes #225
This commit is contained in:
committed by
Daniel Stenberg
parent
62cc59cd06
commit
e470738a0c
@@ -102,7 +102,7 @@ fi
|
|||||||
# Look for libgcrypt
|
# Look for libgcrypt
|
||||||
if test "$ac_cv_libssl" != "yes" && test "$use_libgcrypt" != "no"; then
|
if test "$ac_cv_libssl" != "yes" && test "$use_libgcrypt" != "no"; then
|
||||||
AC_LIB_HAVE_LINKFLAGS([gcrypt], [], [#include <gcrypt.h>])
|
AC_LIB_HAVE_LINKFLAGS([gcrypt], [], [#include <gcrypt.h>])
|
||||||
LIBSREQUIRED=libgcrypt
|
LIBS="$LIBS -lgcrypt"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_SUBST(LIBSREQUIRED)
|
AC_SUBST(LIBSREQUIRED)
|
||||||
|
Reference in New Issue
Block a user