|
From: | anonymous |
Subject: | [Bug-kawa] [bug #45069] kawa frontend unconditionally links with libhistory |
Date: | Mon, 11 May 2015 08:15:40 +0000 |
User-agent: | Mozilla/5.0 (X11; OpenBSD amd64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 |
URL: <http://savannah.gnu.org/bugs/?45069> Summary: kawa frontend unconditionally links with libhistory Project: Kawa Submitted by: None Submitted on: Mon 11 May 2015 08:15:38 AM UTC Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: The readline-based frontend hardcodes the readline libraries in bin/Makefile.am: kawa_LDADD = $(READLINE_LIB_PATH) -lreadline -lhistory $(kawa_EXTRA_LIBS) However some platforms such as OpenBSD do not have a libhistory and therefore kawa fails to build. The attached patch adds a configure check for libhistory and uses it when found. Idealy the -lreadline would be a configure check too, but this works fine for now. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Mon 11 May 2015 08:15:38 AM UTC Name: kawa.diff Size: 2kB By: None Don't hardcode -lhistory <http://savannah.gnu.org/bugs/download.php?file_id=33974> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?45069> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |