提交 6c517e24 编写于 作者: C code4lala

link ws2_32 for libcrypto_shared on mingw

Signed-off-by: Ncode4lala <fengziteng2@huawei.com>
Change-Id: Ie2857a7388c4b7e17d84dd48ec150530983db773
上级 8c452b5b
......@@ -942,6 +942,10 @@ if (is_mingw || is_mac) {
}
ohos_shared_library("libcrypto_shared") {
if (is_mingw) {
lib_dirs = [ "//prebuilts/mingw-w64/ohos/linux-x86_64/clang-mingw/x86_64-w64-mingw32/lib" ]
libs = [ "ws2_32" ]
}
deps = [ ":crypto_source" ]
output_name = "libcrypto_openssl"
subsystem_name = "security"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册