From 8a1c704c3198a49275e32bfa864e42b649bd0315 Mon Sep 17 00:00:00 2001 From: liaoxingxing Date: Sat, 21 Sep 2024 14:31:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0ldflags=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liaoxingxing --- BUILD.gn | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BUILD.gn b/BUILD.gn index 9d17a31..c8d5995 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -350,6 +350,9 @@ if (defined(ohos_lite)) { } ohos_shared_library("uv") { deps = [ ":libuv_source" ] + if (is_linux || is_ohos) { + ldflags = [ "-Wl,--exclude-libs=ALL" ] + } external_deps = [ "hilog:libhilog" ] public_configs = [ ":libuv_config" ] subsystem_name = "thirdparty" -- Gitee