summaryrefslogtreecommitdiff
path: root/module_test
diff options
context:
space:
mode:
authoryangwei <[email protected]>2023-08-25 20:52:20 +0800
committeryangwei <[email protected]>2023-08-25 20:52:20 +0800
commit7bbf7a8250384fbdcc1ccb74bd4cf3edf22a0b97 (patch)
tree236ed95c1592ddf93445eba97085436ae0282a68 /module_test
parent7f030e53c0b78d0b3dedbb0a5bed4b7dcb4de4fd (diff)
🔧 build(jemalloc-static): sapp_devel启用jemalloc时,显式链接
Diffstat (limited to 'module_test')
-rw-r--r--module_test/src/CMakeLists.txt3
1 files changed, 0 insertions, 3 deletions
diff --git a/module_test/src/CMakeLists.txt b/module_test/src/CMakeLists.txt
index 7c6d82d..745a27c 100644
--- a/module_test/src/CMakeLists.txt
+++ b/module_test/src/CMakeLists.txt
@@ -18,9 +18,6 @@ add_executable(gtest_sapp_v4 gtest_main.cpp gtest_sapp_ipv4.cpp gtest_sapp_ipv6.
../test_case/auto_gen_test_functions.cpp ../test_case/test_function_common.cpp)
target_link_libraries(gtest_sapp_v4 gtest-static pthread pcap m dl MESA_jump_layer MESA_field_stat2 fieldstat3 MESA_htable MESA_handle_logger MESA_prof_load breakpad_mini systemd sapp_benchmark sapp_devel)
-if(MEM_POOL STREQUAL "JEMALLOC_STATIC")
- target_link_libraries(gtest_sapp_v4 libjemalloc-static)
-endif()
add_executable(transparent_test_sapp_v4 gtest_transparent_env.cpp gtest_sapp_comm.cpp)
target_link_libraries(transparent_test_sapp_v4 pthread pcap m dl MESA_jump_layer MESA_handle_logger)