From e470738a0cf302abfd2891b80dbac4ac3e7eedd2 Mon Sep 17 00:00:00 2001 From: Dmitry Smirnov Date: Mon, 13 Aug 2012 23:34:51 +0200 Subject: [PATCH] configure: gcrypt doesn't come with pkg-config support ... so use plain old -lgcrypt to the linker to link with it. Fixes #225 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index aa9d397..dfc6988 100644 --- a/configure.ac +++ b/configure.ac @@ -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 ]) - LIBSREQUIRED=libgcrypt + LIBS="$LIBS -lgcrypt" fi AC_SUBST(LIBSREQUIRED)