From 0669780ff8ad4136c71c29b45545a7793b144fa5 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 3 May 2020 16:36:52 +0200 Subject: [PATCH] package: fix a link error on IRIX https://lists.gnu.org/r/bug-bison/2020-05/msg00035.html * src/local.mk (src_bison_LDADD): Mention libbison.a before, not after, the system libraries. --- src/local.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/local.mk b/src/local.mk index 08737f88..c072d998 100644 --- a/src/local.mk +++ b/src/local.mk @@ -117,6 +117,7 @@ BUILT_SOURCES += \ # definition of libbison, beware that they might expand as flags such as # `-lm`. Keep them here. Or use a Libtool convenience library. src_bison_LDADD = \ + lib/libbison.a \ $(ISNAND_LIBM) \ $(ISNANF_LIBM) \ $(ISNANL_LIBM) \ @@ -126,8 +127,7 @@ src_bison_LDADD = \ $(LIBTHREAD) \ $(LIB_CLOCK_GETTIME) \ $(LIB_GETHRXTIME) \ - $(LIBTEXTSTYLE) \ - lib/libbison.a + $(LIBTEXTSTYLE) EXTRA_DIST += %D%/i18n-strings.c