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:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user