From 212d830eb73e6c53aeb48cf07441a6a9492d44c2 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Tue, 2 Jul 2024 16:25:03 +0900 Subject: [PATCH] aot-analyzer: Fix macos build (#3589) * macOS doesn't have -lrt. * this program doesn't seem to require librt even on ubuntu. build tested on macOS and ubuntu. --- test-tools/aot-analyzer/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-tools/aot-analyzer/CMakeLists.txt b/test-tools/aot-analyzer/CMakeLists.txt index b1a11b54..6f5f588c 100644 --- a/test-tools/aot-analyzer/CMakeLists.txt +++ b/test-tools/aot-analyzer/CMakeLists.txt @@ -85,4 +85,4 @@ include (${SHARED_DIR}/utils/uncommon/shared_uncommon.cmake) add_executable (aot-analyzer src/main.cc src/aot_file.cc src/binary_file.cc src/option_parser.cc src/wasm_file.cc ${UNCOMMON_SHARED_SOURCE}) -target_link_libraries (aot-analyzer vmlib -lm -ldl -lpthread -lrt) \ No newline at end of file +target_link_libraries (aot-analyzer vmlib -lm -ldl -lpthread)