From a2cf59b9894519f9fb7ee72474fa9468ac62b9d4 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 3 Apr 2026 01:13:04 +0900 Subject: internal/rosa/ncurses: also build dynamic library GNU readline breaks without this. Signed-off-by: Ophestra --- internal/rosa/gnu.go | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'internal/rosa/gnu.go') diff --git a/internal/rosa/gnu.go b/internal/rosa/gnu.go index 0275e766..521ef749 100644 --- a/internal/rosa/gnu.go +++ b/internal/rosa/gnu.go @@ -846,7 +846,14 @@ func (t Toolchain) newReadline() (pkg.Artifact, string) { nil, "https://ftp.gnu.org/gnu/readline/readline-"+version+".tar.gz", mustDecode(checksum), pkg.TarGzip, - ), nil, (*MakeHelper)(nil)), version + ), nil, &MakeHelper{ + Configure: []KV{ + {"with-curses"}, + {"with-shared-termcap-library"}, + }, + }, + Ncurses, + ), version } func init() { artifactsM[Readline] = Metadata{ @@ -856,6 +863,10 @@ func init() { Description: "provides a set of functions for use by applications that allow users to edit command lines as they are typed in", Website: "https://tiswww.cwru.edu/php/chet/readline/rltop.html", + Dependencies: P{ + Ncurses, + }, + ID: 4173, } } -- cgit v1.3.1