[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-mailutils] [PATCH] Add libgnu.la to GINT_LDADD if replacing strerro
From: |
James Clarke |
Subject: |
[bug-mailutils] [PATCH] Add libgnu.la to GINT_LDADD if replacing strerror |
Date: |
Tue, 28 Jun 2016 23:27:48 +0100 |
User-agent: |
Mutt/1.6.0 (2016-04-01) |
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.
---
configure.ac | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configure.ac b/configure.ac
index d473f80..7d7e4fa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1174,6 +1174,9 @@ GINT_INIT([gint],[1.8 with-guile],
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"])
--
2.8.1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-mailutils] [PATCH] Add libgnu.la to GINT_LDADD if replacing strerror,
James Clarke <=