From db3a1110eca43c45e40f22ad2aada2c5ac155d77 Mon Sep 17 00:00:00 2001 From: Shubham Kulkarni Date: Tue, 28 Apr 2020 18:34:51 +0530 Subject: [PATCH] pthread: Use INTERFACE in target_link_libraries for vPortCleanUpTCB wrapper --- 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 136bf9cf1..36b1f9eb3 100644 --- a/components/pthread/CMakeLists.txt +++ b/components/pthread/CMakeLists.txt @@ -10,7 +10,7 @@ if(GCC_NOT_5_2_0) endif() 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() if(extra_link_flags)