diff --git a/BUILD.gn b/BUILD.gn index 2c779909f0b73aa25a632cc1017cb3d40d91d40f..ac72fe75391edb382606ad57aef67adb49996459 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 @@ -123,6 +123,9 @@ if (defined(ohos_lite)) { "system", "updater", ] + if (current_os == "mingw") { + libs = [ "ws2_32" ] + } } group("mbedtls") {