aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-10-23 03:22:40 +0900
committerOphestra <cat@gensokyo.uk>2026-10-23 03:35:16 +0900
commitd9c28eca37a7913a859de2238c28d655b65beed8 (patch)
treefa50ac76e7677858b49bb517672648e68db25a1c
parent61a7b9c421c3661c7678a58546b365259e244256 (diff)
internal/rosa/package/pcre2: switch to cmake
GNU libtool breaks cross-compilation by insisting on using the native libc when relinking. Signed-off-by: Ophestra <cat@gensokyo.uk>
-rw-r--r--internal/rosa/package/pcre2.az17
1 files changed, 10 insertions, 7 deletions
diff --git a/internal/rosa/package/pcre2.az b/internal/rosa/package/pcre2.az
index 1df3fdad..f7600bc7 100644
--- a/internal/rosa/package/pcre2.az
+++ b/internal/rosa/package/pcre2.az
@@ -14,14 +14,17 @@ package pcre2 {
// RunGrepTest expects /bin/echo
bin = [ "echo" ];
- exec = make {
- configure = {
- "enable-jit";
- "enable-pcre2-8";
- "enable-pcre2-16";
- "enable-pcre2-32";
+ exec = cmake {
+ cache = {
+ "PCRE2_SUPPORT_JIT": "ON";
};
};
- tools = [ diffutils ];
+ tools = [
+ diffutils,
+ coreutils,
+ ];
+
+ inputs = [ zlib ];
+ runtime = [ zlib ];
}