ソースを参照

Fix build failure on esp-idf platform (#2991)

Reported in https://github.com/bytecodealliance/wasm-micro-runtime/issues/2989.
Wenyong Huang 2 年 前
コミット
0d4ade6b4c
1 ファイル変更3 行追加0 行削除
  1. 3 0
      core/shared/platform/esp-idf/shared_platform.cmake

+ 3 - 0
core/shared/platform/esp-idf/shared_platform.cmake

@@ -10,6 +10,9 @@ include_directories(${PLATFORM_SHARED_DIR}/../include)
 
 file (GLOB_RECURSE source_all ${PLATFORM_SHARED_DIR}/*.c)
 
+include (${CMAKE_CURRENT_LIST_DIR}/../common/libc-util/platform_common_libc_util.cmake)
+set (source_all ${source_all} ${PLATFORM_COMMON_LIBC_UTIL_SOURCE})
+
 set (PLATFORM_SHARED_SOURCE ${source_all} ${PLATFORM_COMMON_MATH_SOURCE})
 
 # If enable PSRAM of ESP32-S3, it had better to put AOT into PSRAM, so that