1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
Description: Add libgnu.la to GINT_LDADD if replacing strerror
If REPLACE_STRERROR is 1, clexer.l will try to use rpl_strerror, but
since it is not linked against gnulib, this gives an unresolved symbol
error.
.
* configure.ac: When building gint and strerror is to be replaced with
rpl_strerror, add libgnu.la to GINT_LDADD.
.
This fixes the build in hurd-i386.
Author: James Clarke <jrtc27@jrtc27.com>
Acked-By: Mattia Rizzolo <mattia@debian.org>
Forwarded: https://lists.gnu.org/archive/html/bug-mailutils/2016-06/msg00005.html
Bug-Debian: https://bugs.debian.org/828904
--- a/configure.ac
+++ b/configure.ac
@@ -1168,6 +1168,9 @@
LIBMU_SCM_DEPS='${MU_LIB_MBOX} ${MU_LIB_IMAP} ${MU_LIB_POP} ${MU_LIB_MH} ${MU_LIB_MAILDIR} ${MU_LIB_MAILER}'
MU_GUILE_SIEVE_MOD_DIR='$(GUILE_SITE)/$(PACKAGE)/sieve-modules'
GINT_INCLUDES='${MU_APP_COMMON_INCLUDES}'
+ if test $REPLACE_STRERROR = 1; then
+ GINT_LDADD='${top_builddir}/lib/gnu/libgnu.la'
+ fi
],[useguile=no])
AM_CONDITIONAL([MU_COND_LIBMU_SCM],[test "$useguile" = "yes"])
|