forked from espressif/esp-idf
pthread: Use INTERFACE in target_link_libraries for vPortCleanUpTCB wrapper
This commit is contained in:
@@ -8,7 +8,7 @@ list(APPEND extra_link_flags "-u pthread_include_pthread_cond_impl")
|
|||||||
list(APPEND extra_link_flags "-u pthread_include_pthread_local_storage_impl")
|
list(APPEND extra_link_flags "-u pthread_include_pthread_local_storage_impl")
|
||||||
|
|
||||||
if(CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP)
|
if(CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP)
|
||||||
target_link_libraries(${COMPONENT_LIB} "-Wl,--wrap=vPortCleanUpTCB")
|
target_link_libraries(${COMPONENT_LIB} INTERFACE "-Wl,--wrap=vPortCleanUpTCB")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(extra_link_flags)
|
if(extra_link_flags)
|
||||||
|
Reference in New Issue
Block a user