1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-08-08 19:02:07 +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:
Dmitry Smirnov
2012-08-13 23:34:51 +02:00
committed by Daniel Stenberg
parent 62cc59cd06
commit e470738a0c

View File

@@ -102,7 +102,7 @@ fi
# Look for libgcrypt
if test "$ac_cv_libssl" != "yes" && test "$use_libgcrypt" != "no"; then
AC_LIB_HAVE_LINKFLAGS([gcrypt], [], [#include <gcrypt.h>])
LIBSREQUIRED=libgcrypt
LIBS="$LIBS -lgcrypt"
fi
AC_SUBST(LIBSREQUIRED)