Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
151de652
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
1 年多 前同步成功
通知
10
Star
18
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Openssl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
151de652
编写于
6月 02, 2023
作者:
C
code4lala
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add crypt32 link libs for mingw
Signed-off-by:
N
code4lala
<
fengziteng2@huawei.com
>
上级
b436274c
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
12 addition
and
13 deletion
+12
-13
BUILD.gn
BUILD.gn
+12
-13
未找到文件。
BUILD.gn
浏览文件 @
151de652
...
...
@@ -495,10 +495,22 @@ if (openssl_selected_platform == "linux-armv4") {
crypto_config_current_platform_cflags += crypto_config_mingw64_cflags
}
mingw32_libs_path = []
mingw32_libs = []
if (is_mingw || is_win) {
mingw32_libs_path += [ "//prebuilts/mingw-w64/ohos/linux-x86_64/clang-mingw/x86_64-w64-mingw32/lib" ]
mingw32_libs += [
"ws2_32",
"crypt32",
]
}
config("crypto_config_private") {
include_dirs = crypto_config_common_private_include_dirs
cflags = crypto_config_common_cflags + crypto_config_current_platform_cflags +
openssl_internal_cflags
lib_dirs = mingw32_libs_path
libs = mingw32_libs
}
config("crypto_config_public") {
...
...
@@ -1494,10 +1506,6 @@ ohos_static_library("libcrypto_static") {
if (is_mingw || is_mac) {
ohos_shared_library("libcrypto_restool") {
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" ]
subsystem_name = "thirdparty"
part_name = "openssl"
...
...
@@ -1510,10 +1518,6 @@ 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 = "thirdparty"
...
...
@@ -1629,11 +1633,6 @@ ohos_shared_library("libssl_shared") {
":ssl_source",
]
if (is_mingw) {
lib_dirs = [ "//prebuilts/mingw-w64/ohos/linux-x86_64/clang-mingw/x86_64-w64-mingw32/lib" ]
libs = [ "ws2_32" ]
}
output_name = "libssl_openssl"
subsystem_name = "thirdparty"
part_name = "openssl"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录