From 186407512ca9eb5ee16ffcd03b7aa3a1e0c7e72d Mon Sep 17 00:00:00 2001 From: Anton Soldatov Date: Thu, 5 Jan 2023 21:13:44 +0800 Subject: [PATCH] Make eTS VM API symbols visible Signed-off-by: Anton Soldatov --- plugins/ets/runtime/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/ets/runtime/CMakeLists.txt b/plugins/ets/runtime/CMakeLists.txt index ba8b55d12..25508bad8 100644 --- a/plugins/ets/runtime/CMakeLists.txt +++ b/plugins/ets/runtime/CMakeLists.txt @@ -39,6 +39,8 @@ set(ETS_RUNTIME_SOURCES ${ETS_EXT_SOURCES}/types/ets_class.cpp ${ETS_EXT_SOURCES}/types/ets_field.cpp ${ETS_EXT_SOURCES}/types/ets_method.cpp +) +set(ETS_RUNTIME_SOURCES_PUBLIC ${ETS_EXT_SOURCES}/ets_vm_api.cpp ) @@ -59,6 +61,7 @@ elseif (PANDA_TARGET_AMD64) endif() target_sources(arkruntime_static PRIVATE ${ETS_RUNTIME_SOURCES}) +target_sources(arkruntime_static PUBLIC ${ETS_RUNTIME_SOURCES_PUBLIC}) target_include_directories(arkruntime_static PUBLIC ${PANDA_BINARY_ROOT}/cross_values ${PANDA_ETS_PLUGIN_SOURCE}/runtime/ -- Gitee