Merge branch 'bugfix/pthread_cond_var_link_hook_v5.1' into 'release/v5.1'

bugfix(pthread): fixed pthread_condvar linker hook (v5.1)

See merge request espressif/esp-idf!26004
This commit is contained in:
Marius Vikhammer 2023-09-19 10:35:57 +08:00
commit 5badfeefac

View File

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