[git] GPG-ERROR - branch, master, updated. libgpg-error-1.12-12-g4f9b13e

by Werner Koch cvs at cvs.gnupg.org
Thu Jan 16 15:41:19 CET 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Error codes used by GnuPG et al.".

The branch, master has been updated
       via  4f9b13e99bdfed886dadfd1b70a69af3747ebc98 (commit)
      from  ff937c39febe63d52c55590d8e3bd3a460f26651 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4f9b13e99bdfed886dadfd1b70a69af3747ebc98
Author: Werner Koch <wk at gnupg.org>
Date:   Thu Jan 9 19:14:09 2014 +0100

    Fix linking for last change on non-ELF platforms.
    
    * src/Makefile.am (libgpg_error_la_LIBADD): Add LIBTHREAD.
    --
    
    If configure told us to link with -lpthread we need to pass that
    library to the libgpg-error.la build rule.  Which is the right thing
    to do.  Without that we may run into strange errors; for example on
    AIX pthread_mutex_lock is silently not resolved and thus any use of
    gpgrt_lock_lock will immediately lead to segv.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/src/Makefile.am b/src/Makefile.am
index 51b2ea9..9ced1e5 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -128,7 +128,7 @@ libgpg_error_la_SOURCES = gpg-error.h gettext.h $(arch_sources) \
 # without the extra_cppflags because they may include am -idirafter
 # which is not supported by the RC compiler.
 libgpg_error_la_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" $(extra_cppflags)
-libgpg_error_la_LIBADD = $(gpg_error_res) $(intllibs)
+libgpg_error_la_LIBADD = $(gpg_error_res) $(intllibs) $(LIBTHREAD)
 
 gpg_error_SOURCES = strsource-sym.c strerror-sym.c gpg-error.c
 gpg_error_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" $(extra_cppflags)

-----------------------------------------------------------------------

Summary of changes:
 src/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
Error codes used by GnuPG et al.
http://git.gnupg.org




More information about the Gnupg-commits mailing list