From: Angus Gratton Date: Tue, 1 May 2018 06:54:27 +0000 (+1000) Subject: heap/cmake: Fix linking error when heap tracing is enabled X-Git-Tag: v3.1-rc2~9^2~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68282cf80b0803e924ecb3902d22d8c58bf68af5;p=esp-idf heap/cmake: Fix linking error when heap tracing is enabled --- diff --git a/components/heap/CMakeLists.txt b/components/heap/CMakeLists.txt index b7dd5d9ac1..9c4ccf16d9 100644 --- a/components/heap/CMakeLists.txt +++ b/components/heap/CMakeLists.txt @@ -12,7 +12,15 @@ register_component() if(CONFIG_HEAP_TRACING) set(WRAP_FUNCTIONS - calloc malloc free realloc heap_caps_malloc heap_caps_free heap_caps_realloc) + calloc + malloc + free + realloc + heap_caps_malloc + heap_caps_free + heap_caps_realloc + heap_caps_malloc_default + heap_caps_realloc_default) foreach(wrap ${WRAP_FUNCTIONS}) target_link_libraries(heap "-Wl,--wrap=${wrap}")