diff --git a/websocket/BUILD.gn b/websocket/BUILD.gn index 7e9c946e8a141f1698a2e2fb252444a0920ffd0a..87b7b62054cb99c13b1b2025a1f8594f45d60702 100644 --- a/websocket/BUILD.gn +++ b/websocket/BUILD.gn @@ -94,7 +94,7 @@ ohos_source_set("websocket_server") { } # required for runtime_core ArkTS inspector -ohos_static_library("libwebsocket_server") { +ohos_shared_library("libwebsocket_server") { stack_protector_ret = true public_configs = [ ":websocket_public_config" ]