Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
7766bc1a
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
大约 1 年 前同步成功
通知
9
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
7766bc1a
编写于
11月 19, 2009
作者:
A
Andy Polyakov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
util/pl/VC-32.pl: bufferoverflowu.lib only when actually needed and
eliminate duplicate code. PR: 2086
上级
6cef3a7f
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
5 addition
and
28 deletion
+5
-28
util/pl/VC-32.pl
util/pl/VC-32.pl
+5
-28
未找到文件。
util/pl/VC-32.pl
浏览文件 @
7766bc1a
...
@@ -155,7 +155,7 @@ if ($FLAVOR =~ /CE/)
...
@@ -155,7 +155,7 @@ if ($FLAVOR =~ /CE/)
else
else
{
{
$ex_libs
.=
'
gdi32.lib advapi32.lib crypt32.lib user32.lib
';
$ex_libs
.=
'
gdi32.lib advapi32.lib crypt32.lib user32.lib
';
$ex_libs
.=
'
bufferoverflowu.lib
'
if
(
$FLAVOR
=~
/WIN64/
);
$ex_libs
.=
'
bufferoverflowu.lib
'
if
(
$FLAVOR
=~
/WIN64/
and
`
cl 2>&1
`
=~
/14\.00\.4[0-9]{4}\./
);
# WIN32 UNICODE build gets linked with unicows.lib for
# WIN32 UNICODE build gets linked with unicows.lib for
# backward compatibility with Win9x.
# backward compatibility with Win9x.
$ex_libs
=
"
unicows.lib
$ex_libs
"
if
(
$FLAVOR
=~
/WIN32/
and
$cflags
=~
/\-DUNICODE/
);
$ex_libs
=
"
unicows.lib
$ex_libs
"
if
(
$FLAVOR
=~
/WIN32/
and
$cflags
=~
/\-DUNICODE/
);
...
@@ -282,36 +282,13 @@ sub do_lib_rule
...
@@ -282,36 +282,13 @@ sub do_lib_rule
if
(
!
$shlib
)
if
(
!
$shlib
)
{
{
# $ret.="\t\$(RM) \$(O_$Name)\n";
# $ret.="\t\$(RM) \$(O_$Name)\n";
$ex
=
'
';
$ret
.=
"
\t\$
(MKLIB)
$lfile$target
@<<
\n
$objs
\n
<<
\n
";
$ret
.=
"
\t\$
(MKLIB)
$lfile$target
@<<
\n
$objs
$ex
\n
<<
\n
";
}
}
else
else
{
{
local
(
$ex
)
=
(
$target
=~
/O_CRYPTO/
)?'':'
$(L_CRYPTO)
';
local
(
$ex
)
=
(
$target
=~
/O_CRYPTO/
)?'':'
$(L_CRYPTO)
';
if
(
$name
eq
"")
{
$ex
.=
'
bufferoverflowu.lib
'
if
(
$FLAVOR
=~
/WIN64/
);
if
(
$target
=~
/capi/
)
{
$ex
.=
'
crypt32.lib advapi32.lib
';
}
}
elsif
(
$FLAVOR
=~
/CE/
)
{
$ex
.=
'
winsock.lib
';
$ex
.=
'
$(WCECOMPAT)/lib/wcecompatex.lib
'
if
(
defined
(
$ENV
{'
WCECOMPAT
'}));
$ex
.=
'
$(PORTSDK_LIBPATH)/portlib.lib
'
if
(
defined
(
$ENV
{'
PORTSDK_LIBPATH
'}));
}
else
{
$ex
.=
'
unicows.lib
'
if
(
$FLAVOR
=~
/NT/
);
$ex
.=
'
ws2_32.lib gdi32.lib advapi32.lib user32.lib
';
$ex
.=
'
crypt32.lib
';
$ex
.=
'
cryptui.lib
'
if
$cflags
=~
/-DOPENSSL_CAPIENG_DIALOG/
;
$ex
.=
'
bufferoverflowu.lib
'
if
(
$FLAVOR
=~
/WIN64/
);
}
$ex
.=
"
$zlib_lib
"
if
$zlib_opt
==
1
&&
$target
=~
/O_CRYPTO/
;
$ex
.=
"
$zlib_lib
"
if
$zlib_opt
==
1
&&
$target
=~
/O_CRYPTO/
;
$ret
.=
"
\t\$
(LINK)
\$
(MLFLAGS)
$efile$target
$name
@<<
\n
\$
(SHLIB_EX_OBJ)
$objs
$ex
\n
<<
\n
";
$ret
.=
"
\t\$
(LINK)
\$
(MLFLAGS)
$efile$target
$name
@<<
\n
\$
(SHLIB_EX_OBJ)
$objs
$ex
\$
(EX_LIBS)
\n
<<
\n
";
$ret
.=
"
\t
IF EXIST
\$
@.manifest mt -nologo -manifest
\$
@.manifest -outputresource:
\$
@;2
\n\n
";
$ret
.=
"
\t
IF EXIST
\$
@.manifest mt -nologo -manifest
\$
@.manifest -outputresource:
\$
@;2
\n\n
";
}
}
$ret
.=
"
\n
";
$ret
.=
"
\n
";
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录