fix(pthread): fixed pthread_condvar linker hook

This commit is contained in:
Jakob Hasse 2023-09-11 17:45:10 +08:00
parent d1d4519f96
commit 83b9a7e2a5

View File

@ -9,7 +9,7 @@ idf_component_register(SRCS ${sources}
idf_build_set_property(COMPILE_DEFINITIONS "-D_POSIX_READER_WRITER_LOCKS" APPEND)
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")
list(APPEND extra_link_flags "-u pthread_include_pthread_rwlock_impl")