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.
This commit is contained in:
YAMAMOTO Takashi 2024-07-02 16:25:03 +09:00 committed by GitHub
parent 0d9cea434c
commit 212d830eb7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)
target_link_libraries (aot-analyzer vmlib -lm -ldl -lpthread)