From 01ac40fd19e06f4f0f9b4850b505913516057ed6 Mon Sep 17 00:00:00 2001 From: Jakob Hasse Date: Mon, 11 Sep 2023 17:45:10 +0800 Subject: [PATCH] fix(pthread): fixed pthread_condvar linker hook --- components/pthread/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/pthread/CMakeLists.txt b/components/pthread/CMakeLists.txt index 215bae54de..060650d8c1 100644 --- a/components/pthread/CMakeLists.txt +++ b/components/pthread/CMakeLists.txt @@ -4,7 +4,7 @@ idf_component_register(SRCS "pthread.c" INCLUDE_DIRS include) set(extra_link_flags "-u pthread_include_pthread_impl") -list(APPEND extra_link_flags "-u pthread_include_pthread_cond_impl") +list(APPEND extra_link_flags "-u pthread_include_pthread_cond_var_impl") list(APPEND extra_link_flags "-u pthread_include_pthread_local_storage_impl") if(CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP)