[gtk-vnc] Add explicit link to libgcrypt for MS Logon extension, to avoid link problem on Win32



commit 6634acb2ccaf01e237fc03ed9f15b25e6f9897b6
Author: Daniel P. Berrange <berrange redhat com>
Date:   Mon Jun 15 21:10:35 2009 +0100

    Add explicit link to libgcrypt for MS Logon extension, to avoid link problem on Win32

 configure.ac |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ee8a4dd..f2aba77 100644
--- a/configure.ac
+++ b/configure.ac
@@ -142,6 +142,10 @@ AC_SUBST(VIEW_CFLAGS)
 AC_SUBST(VIEW_LIBS)
 
 PKG_CHECK_MODULES(GNUTLS, gnutls >= $GNUTLS_REQUIRED)
+dnl Not all versions of gnutls include -lgcrypt, and we need it
+dnl explicitly for building MS Logon extension which calls
+dnl gcry_XXX APIs
+GNUTLS_LIBS="$GNUTLS_LIBS -lgcrypt"
 AC_SUBST(GNUTLS_CFLAGS)
 AC_SUBST(GNUTLS_LIBS)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]