From c17daf848d3782af7538deb7fac0af0a75a4c376 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Tue, 8 Sep 2026 07:33:47 -0400 Subject: [PATCH] Fix thread sources for legacy WASI target Signed-off-by: Rui Chen --- libc-top-half/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc-top-half/CMakeLists.txt b/libc-top-half/CMakeLists.txt index 39c175b51..d9cb93266 100644 --- a/libc-top-half/CMakeLists.txt +++ b/libc-top-half/CMakeLists.txt @@ -448,7 +448,7 @@ if (NOT (WASI STREQUAL "p1")) ) endif() -if (TARGET_TRIPLE MATCHES "wasip1-threads") +if (TARGET_TRIPLE MATCHES "wasi(p1)?-threads") # pthreads functions needed for actual thread support list(APPEND top_half_sources musl/src/thread/wasi-threads/futex.c