From 2215271156a316647c182f23bb4609d53e2f7e47 Mon Sep 17 00:00:00 2001 From: yangwei Date: Thu, 5 Sep 2024 18:00:39 +0800 Subject: 🔧 build(sapp_devel build): target_link packet_io MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 1229831..344b32e 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -21,7 +21,7 @@ file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/sapp_devel.cpp "") add_library(sapp_devel SHARED sapp_devel.cpp) -target_link_libraries(sapp_devel -Wl,--whole-archive ${SAPP_MODULES} -Wl,--no-whole-archive) +target_link_libraries(sapp_devel -Wl,--whole-archive ${SAPP_MODULES} -Wl,--no-whole-archive ${SAPP_DEPEND_DYN_LIB}) add_library(test_app_sapp SHARED test_app_sapp.c) -- cgit v1.2.3