Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
64c443e3
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看板
提交
64c443e3
编写于
2月 05, 2016
作者:
R
Richard Levitte
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add support for shared_rcflag, useful for windres (Cygwin and Mingw)
Reviewed-by:
N
Rich Salz
<
rsalz@openssl.org
>
上级
68ab559a
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
11 addition
and
1 deletion
+11
-1
Configurations/00-base-templates.conf
Configurations/00-base-templates.conf
+1
-0
Configurations/10-main.conf
Configurations/10-main.conf
+2
-0
Configure
Configure
+1
-0
Makefile.in
Makefile.in
+2
-0
Makefile.shared
Makefile.shared
+5
-1
未找到文件。
Configurations/00-base-templates.conf
浏览文件 @
64c443e3
...
...
@@ -35,6 +35,7 @@
shared_target
=>
""
,
shared_cflag
=>
""
,
shared_ldflag
=>
""
,
shared_rcflag
=>
""
,
shared_extension
=>
""
,
build_scheme
=>
"unixmake"
,
build_file
=>
"Makefile"
,
...
...
Configurations/10-main.conf
浏览文件 @
64c443e3
...
...
@@ -1174,6 +1174,7 @@
shared_target
=>
"cygwin-shared"
,
shared_cflag
=>
"-D_WINDLL -DOPENSSL_USE_APPLINK"
,
shared_ldflag
=>
"-static-libgcc"
,
shared_rcflag
=>
"--target=pe-i386"
,
shared_extension
=>
".dll"
,
},
"mingw64"
=> {
...
...
@@ -1199,6 +1200,7 @@
shared_target
=>
"cygwin-shared"
,
shared_cflag
=>
"-D_WINDLL"
,
shared_ldflag
=>
"-static-libgcc"
,
shared_rcflag
=>
"--target=pe-x86-64"
,
shared_extension
=>
".dll"
,
},
...
...
Configure
浏览文件 @
64c443e3
...
...
@@ -2180,6 +2180,7 @@ sub print_table_entry
"
shared_target
",
"
shared_cflag
",
"
shared_ldflag
",
"
shared_rcflag
",
"
shared_extension
",
"
obj_extension
",
"
exe_extension
",
...
...
Makefile.in
浏览文件 @
64c443e3
...
...
@@ -205,6 +205,7 @@ SHARED_LDFLAG={- $target{shared_ldflag}
# $prefix is not /usr.
.
($config{target}
=
~ m|^BSD-| &&
$prefix
!~ m|^/usr/.*
$|
? " -Wl,-rpath,\$\$(LIBRPATH)"
:
"") -}
SHARED_RCFLAG
={
-
$target
{
shared_rcflag
}
-
}
GENERAL
=
Makefile
BASENAME
=
openssl
...
...
@@ -255,6 +256,7 @@ BUILDENV= LC_ALL=C PLATFORM='$(PLATFORM)' PROCESSOR='$(PROCESSOR)'\
LIBDIR
=
'
$(LIBDIR)
'
\
DEPFLAG
=
'
$(DEPFLAG)
'
\
SHARED_LDFLAG
=
'
$(SHARED_LDFLAG)
'
\
SHARED_RCFLAG
=
'
$(SHARED_RCFLAG)
'
\
ZLIB_INCLUDE
=
'
$(ZLIB_INCLUDE)
'
LIBZLIB
=
'
$(LIBZLIB)
'
\
EXE_EXT
=
'
$(EXE_EXT)
'
SHARED_LIBS
=
'
$(SHARED_LIBS)
'
\
SHLIB_EXT
=
'
$(SHLIB_EXT)
'
SHLIB_TARGET
=
'
$(SHLIB_TARGET)
'
\
...
...
Makefile.shared
浏览文件 @
64c443e3
...
...
@@ -14,6 +14,10 @@ CFLAGS=$(CFLAG)
LDFLAGS
=
$(LDFLAG)
SHARED_LDFLAGS
=
$(SHARED_LDFLAG)
# SHARED_RCFLAGS are flags used with windres, i.e. when build for Cygwin
# or Mingw.
SHARED_RCFLAGS
=
$(SHARED_RCFLAG)
NM
=
nm
# LIBNAME contains just the name of the library, without prefix ("lib"
...
...
@@ -305,7 +309,7 @@ link_a.cygwin:
fi
;
\
dll_name
=
$$
SHLIB
$$
SHLIB_SOVER
$$
SHLIB_SUFFIX
;
\
$(PERL)
util/mkrc.pl
$$
dll_name |
\
$(CROSS_COMPILE)
windres
-o
rc.o
;
\
$(CROSS_COMPILE)
windres
$(SHARED_RCFLAGS)
-o
rc.o
;
\
extras
=
"
$$
extras rc.o"
;
\
ALLSYMSFLAGS
=
'-Wl,--whole-archive'
;
\
NOALLSYMSFLAGS
=
'-Wl,--no-whole-archive'
;
\
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录