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, } } diff --git a/internal/rosa/ncurses.go b/internal/rosa/ncurses.go index be8a8e0d..ec1022d9 100644 --- a/internal/rosa/ncurses.go +++ b/internal/rosa/ncurses.go @@ -18,6 +18,8 @@ func (t Toolchain) newNcurses() (pkg.Artifact, string) { Configure: []KV{ {"with-pkg-config"}, {"enable-pc-files"}, + {"with-shared"}, + {"with-cxx-shared"}, }, }, PkgConfig,