From 651482be4f0d9c13409f3b9582adb05024a54a9a Mon Sep 17 00:00:00 2001 From: Patrice Jiang <397136899@qq.com> Date: Thu, 13 Apr 2023 12:10:49 +0800 Subject: [PATCH] support dynamic library loading --- android/CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/android/CMakeLists.txt b/android/CMakeLists.txt index e179f9fc..64b18a51 100644 --- a/android/CMakeLists.txt +++ b/android/CMakeLists.txt @@ -84,7 +84,8 @@ if(USE_SE_V8) IMPORTED_LOCATION ${platform_spec_path}/v8/libinspector.a INTERFACE_INCLUDE_DIRECTORIES ${platform_spec_path}/include/v8 ) - set(se_libs_name v8_monolith v8_inspector) + set(se_libs_name v8_monolith) + set(se_libs_include ${platform_spec_path}/include/v8) endif() if(USE_WEBSOCKET_SERVER) @@ -160,7 +161,9 @@ endif() set(ZLIB z) if(NOT USE_MODULES) - list(APPEND CC_EXTERNAL_LIBS ${ZLIB} ${se_libs_name}) + list(APPEND CC_EXTERNAL_LIBS ${ZLIB} + ${se_libs_name} + ) endif()