From f9e951679295bfc8abc84452bafce1bafd3376f0 Mon Sep 17 00:00:00 2001 From: liyu Date: Sun, 9 Oct 2022 19:45:48 +0800 Subject: [PATCH 1/2] + windows_libs Change-Id: Id2e48e9ce6159d2be7edd1ca740387ac98274eef Signed-off-by: liyu --- BUILD.gn | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BUILD.gn b/BUILD.gn index 2c779909f..237e6ddb3 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -123,6 +123,9 @@ if (defined(ohos_lite)) { "system", "updater", ] + if (current_os == "mingw") { + libs = [ "ws2_32" ] + } } group("mbedtls") { -- Gitee From 58144a5164e682bce588188e6c0947cf70384509 Mon Sep 17 00:00:00 2001 From: liyu Date: Sun, 9 Oct 2022 19:45:49 +0800 Subject: [PATCH 2/2] * copyright Change-Id: If30ee671675f2e3580e4ad4b5d7c9944dc0a4722 Signed-off-by: liyu --- BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index 237e6ddb3..ac72fe753 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -1,5 +1,5 @@ # -# Copyright (c) 2020 Huawei Device Co., Ltd. +# Copyright (c) 2020-2022 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at -- Gitee