Home GnuPG

Fix linking for last change on non-ELF platforms.
4f9b13e99bdfUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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@gnupg.org>

Details

Provenance
wernerAuthored on Jan 9 2014, 7:14 PM
Parents
rEff937c39febe: Add gpgrt_lock_ functions.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rE4f9b13e99bdf: Fix linking for last change on non-ELF platforms. (authored by Werner Koch <wk@gnupg.org>).Jan 16 2014, 3:39 PM