From c569fb0f2942a3d33f1b4cf8f150f515d84b05cb Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Sun, 3 Oct 2010 04:56:35 -0400 Subject: [PATCH] FS-1248: link to libgcrypt as well, please report any platforms this breaks, but it should be portable --- libs/iksemel/build/libgnutls.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/iksemel/build/libgnutls.m4 b/libs/iksemel/build/libgnutls.m4 index 479d5a2dcf..cf3fe4641a 100644 --- a/libs/iksemel/build/libgnutls.m4 +++ b/libs/iksemel/build/libgnutls.m4 @@ -28,11 +28,11 @@ AC_ARG_WITH(libgnutls-prefix, no_libgnutls="" if test "$LIBGNUTLS_CONFIG" != "no"; then LIBGNUTLS_CFLAGS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --cflags` - LIBGNUTLS_LIBS="`$LIBGNUTLS_CONFIG $libgnutls_config_args --libs` -lpthread" + LIBGNUTLS_LIBS="`$LIBGNUTLS_CONFIG $libgnutls_config_args --libs` -lpthread -lgcrypt" libgnutls_config_version=`$LIBGNUTLS_CONFIG $libgnutls_config_args --version` elif test "$PKG_CONFIG" != "no"; then LIBGNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls` - LIBGNUTLS_LIBS="`$PKG_CONFIG --libs gnutls` -lpthread" + LIBGNUTLS_LIBS="`$PKG_CONFIG --libs gnutls` -lpthread -lgcrypt" libgnutls_config_version=`$PKG_CONFIG --modversion gnutls` else no_libgnutls=yes