aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/libexpat.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-01-26 07:56:14 +0900
committerOphestra <cat@gensokyo.uk>2026-01-26 07:56:14 +0900
commit53b1de33950a3fe7873e055f479df24af83d5e9f (patch)
tree7434722c202cd0dc1134fa25ae732771b7c60642 /internal/rosa/libexpat.go
parent92dcadbf27bbdeb60c562a72a4808066947bf695 (diff)
internal/rosa: enable static on various artifacts
This is implicitly enabled sometimes, but better to be explicit. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/libexpat.go')
-rw-r--r--internal/rosa/libexpat.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/rosa/libexpat.go b/internal/rosa/libexpat.go
index e5317d86..2d7ff5b3 100644
--- a/internal/rosa/libexpat.go
+++ b/internal/rosa/libexpat.go
@@ -18,12 +18,12 @@ func (t Toolchain) newLibexpat() pkg.Artifact {
cd "$(mktemp -d)"
/usr/src/libexpat/configure \
--prefix=/system \
- --build="${ROSA_TRIPLE}"
+ --build="${ROSA_TRIPLE}" \
+ --enable-static
make "-j$(nproc)" check
make DESTDIR=/work install
`, pkg.Path(AbsUsrSrc.Append("libexpat"), false, pkg.NewHTTPGetTar(
- nil,
- "https://github.com/libexpat/libexpat/releases/download/"+
+ nil, "https://github.com/libexpat/libexpat/releases/download/"+
"R_"+strings.ReplaceAll(version, ".", "_")+"/"+
"expat-"+version+".tar.bz2",
mustDecode(checksum),