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