[gtk-vnc] Add -lgpg-error to linker flags
- From: Daniel P. Berrange <dberrange src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-vnc] Add -lgpg-error to linker flags
- Date: Mon, 22 Mar 2010 11:50:48 +0000 (UTC)
commit 744aecfa570a3a5ea772c64c75c221463076ff2b
Author: Halton Huo <halton huo sun com>
Date: Mon Mar 22 11:49:33 2010 +0000
Add -lgpg-error to linker flags
The gcrypt.h file has several inline functions which cause code
using gcrypt to have a direct link time dependancy on gpg-error,
if the compiler decides to inline. Thus we need to add -lgpg-error
to the linker flags to cope with potential inlining
* configure.ac: Add -lgpg-error to GNUTLS_LIBS
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 98d0444..60bf4e5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -145,10 +145,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 Not all versions of gnutls include -lgcrypt and -lgpg-error, and we need it
dnl explicitly for building MS Logon extension which calls
dnl gcry_XXX APIs
-GNUTLS_LIBS="$GNUTLS_LIBS -lgcrypt"
+GNUTLS_LIBS="$GNUTLS_LIBS -lgcrypt -lgpg-error"
AC_SUBST(GNUTLS_CFLAGS)
AC_SUBST(GNUTLS_LIBS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]