From 701330f4e367495e950827c71c1fc91acb841f3c Mon Sep 17 00:00:00 2001 From: xplshn Date: Mon, 13 Jan 2025 02:43:12 +0000 Subject: fix: mimalloc recipe Mimalloc cannot be used without its static libraries, you need to be able to link to it. Mimalloc V3 is experimental, V2 is the recommended version Signed-off-by: xplshn --- repos/extra/mimalloc/abuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'repos') diff --git a/repos/extra/mimalloc/abuild b/repos/extra/mimalloc/abuild index 482a3b94..8364b862 100755 --- a/repos/extra/mimalloc/abuild +++ b/repos/extra/mimalloc/abuild @@ -1,4 +1,6 @@ name=mimalloc -version=3.0.1 +version=v2.1.9 # V2 is the stable branch, V3 is still very experimental release=1 source="https://github.com/microsoft/${name}/archive/v${version}/${name}-v${version}.tar.gz" +keep_static=1 +build_opt="-DMI_OVERRIDE=true -DMI_LIBC_MUSL=true -DMI_BUILD_STATIC=true -DMI_BUILD_OBJECT=true -DMI_BUILD_SHARED=true" -- cgit v1.2.3