]> granicus.if.org Git - esp-idf/commitdiff
heap/cmake: Fix linking error when heap tracing is enabled
authorAngus Gratton <angus@espressif.com>
Tue, 1 May 2018 06:54:27 +0000 (16:54 +1000)
committerAngus Gratton <gus@projectgus.com>
Tue, 1 May 2018 07:27:39 +0000 (17:27 +1000)
components/heap/CMakeLists.txt

index b7dd5d9ac106fd8be923ee961e0a48a8fd3e59db..9c4ccf16d934ae3c3d0daf7f88cdcbe5b7b49559 100644 (file)
@@ -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}")