aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-04-03 01:13:04 +0900
committerOphestra <cat@gensokyo.uk>2026-04-03 01:13:04 +0900
commita2cf59b9894519f9fb7ee72474fa9468ac62b9d4 (patch)
tree227904848f93c5184909b6cd43750d286d34bd1f /internal
parente87f59c4e4abe1a1cc71aadc8670bf775de3083a (diff)
internal/rosa/ncurses: also build dynamic library
GNU readline breaks without this. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal')
-rw-r--r--internal/rosa/gnu.go13
-rw-r--r--internal/rosa/ncurses.go2
2 files changed, 14 insertions, 1 deletions
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,