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