diff options
| author | 杨威 <[email protected]> | 2021-08-24 14:25:31 +0800 |
|---|---|---|
| committer | 杨威 <[email protected]> | 2021-08-24 16:52:03 +0800 |
| commit | 77a697ff32b3b0f9525683e29f2f809cdaa64613 (patch) | |
| tree | fb5d614aa7a1b27a324fe7c6160fb92ae32e6fdc /tools/tcpdump | |
| parent | 9f9fd3e3a0acfd618cfc587063eedadcf6291edc (diff) | |
🔧 build(CMakeLists.txt): 修复在centos7.4下未显示链接elf报错的bug
Diffstat (limited to 'tools/tcpdump')
| -rw-r--r-- | tools/tcpdump/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tcpdump/CMakeLists.txt b/tools/tcpdump/CMakeLists.txt index 5fa365a..728b314 100644 --- a/tools/tcpdump/CMakeLists.txt +++ b/tools/tcpdump/CMakeLists.txt @@ -13,5 +13,5 @@ install(TARGETS mrrxdump RUNTIME DESTINATION bin COMPONENT Program) add_executable(mrpdump pdump.c) target_include_directories(mrpdump PRIVATE ${PCAP_INCLUDE_DIR}) -target_link_libraries(mrpdump marsio infra z ${SYSTEMD_LIBRARIES} ${PCAP_LIBRARY} ${DPDK_LIBRARY}) +target_link_libraries(mrpdump marsio infra z elf ${SYSTEMD_LIBRARIES} ${PCAP_LIBRARY} ${DPDK_LIBRARY}) install(TARGETS mrpdump RUNTIME DESTINATION bin COMPONENT Program) |
