From f34607908367cce84fa9d8331c924135583359e6 Mon Sep 17 00:00:00 2001 From: Brian Lu Date: Tue, 15 Dec 2009 12:56:23 +0100 Subject: [PATCH] s4:tls: fix the build on Solaris Signed-off-by: Stefan Metzmacher --- source4/lib/tls/config.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source4/lib/tls/config.m4 b/source4/lib/tls/config.m4 index 709a0959088..8a5b9966381 100644 --- a/source4/lib/tls/config.m4 +++ b/source4/lib/tls/config.m4 @@ -41,5 +41,8 @@ if test x$use_gnutls = xyes; then AC_DEFINE(ENABLE_GNUTLS,1,[Whether we have gnutls support (SSL)]) AC_CHECK_HEADERS(gcrypt.h) AC_CHECK_LIB_EXT(gcrypt, GCRYPT_LIBS, gcry_control) + # On Solaris libgcrypt.so has a bug and seems to be not linked + # to libgpg-error.so, so we need to manually add them... + AC_CHECK_LIB_EXT(gpg-error, GCRYPT_LIBS, gpg_err_code_from_errno) SMB_EXT_LIB(GCRYPT, $GCRYPT_LIBS) fi -- 2.34.1