diff --git a/frameworks/native/BUILD.gn b/frameworks/native/BUILD.gn index 28a55a72e3f666a0ab6ad651f73286001d772854..dd4493b6a35ecf7049b93a38cf9d050a1abf4a82 100644 --- a/frameworks/native/BUILD.gn +++ b/frameworks/native/BUILD.gn @@ -82,7 +82,9 @@ ohos_shared_library("libhilogutil") { if (use_musl) { defines = [ "HILOG_USE_MUSL" ] - deps += [ "//base/startup/init_lite/interfaces/innerkits/socket:libsocket" ] + deps += [ + "//base/startup/init_lite/interfaces/innerkits/socket:libsocket_shared", + ] } output_extension = "so"