[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why does bison link with readline?
From: |
Paul Smith |
Subject: |
Re: Why does bison link with readline? |
Date: |
Mon, 12 Oct 2020 12:21:26 -0400 |
User-agent: |
Evolution 3.36.4-0ubuntu1 |
On Mon, 2020-10-12 at 12:10 -0400, Paul Smith wrote:
> Is there a reason that bison has -lreadline to the link line? I
> cannot find any code anywhere in the bison program that invokes
> readline() or tests any preprocessor option specifying whether
> readline is linked.
Making this change still allowed bison to link and run correctly for
me:
--- a/src/local.mk 2020-08-03 10:36:58.000000000 -0400
+++ b/src/local.mk 2020-10-12 12:14:17.668301244 -0400
@@ -143,7 +143,6 @@
$(LIB_SETLOCALE_NULL) \
$(LIBICONV) \
$(LIBINTL) \
- $(LIBREADLINE) \
$(LIBTEXTSTYLE)