Skip to content

Commit 212d830

Browse files
authored
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.
1 parent 0d9cea4 commit 212d830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-tools/aot-analyzer/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@ include (${SHARED_DIR}/utils/uncommon/shared_uncommon.cmake)
8585

8686
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})
8787

88-
target_link_libraries (aot-analyzer vmlib -lm -ldl -lpthread -lrt)
88+
target_link_libraries (aot-analyzer vmlib -lm -ldl -lpthread)

0 commit comments

Comments
 (0)