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:
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user