Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
1787fdff
L
libvirt
项目概览
openeuler
/
libvirt
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
libvirt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
1787fdff
编写于
3月 22, 2010
作者:
M
Matthias Bolte
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Generate libvirt.def from libvirt.syms
The MinGW linker needs the libvirt.def file.
上级
7ea025ae
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
17 addition
and
4 deletion
+17
-4
configure.ac
configure.ac
+5
-0
src/.gitignore
src/.gitignore
+1
-0
src/Makefile.am
src/Makefile.am
+11
-4
未找到文件。
configure.ac
浏览文件 @
1787fdff
...
...
@@ -1789,6 +1789,7 @@ CYGWIN_EXTRA_LIBADD=
CYGWIN_EXTRA_PYTHON_LIBADD=
MINGW_EXTRA_LDFLAGS=
WIN32_EXTRA_CFLAGS=
LIBVIRT_SYMBOL_FILE=libvirt.syms
case "$host" in
*-*-cygwin*)
CYGWIN_EXTRA_LDFLAGS="-no-undefined"
...
...
@@ -1808,6 +1809,9 @@ case "$host" in
if test "x$enable_shared" = "xno"; then
WIN32_EXTRA_CFLAGS="-DLIBVIRT_STATIC"
fi
# Also set the symbol file to .def, so src/Makefile generates libvirt.def
# from libvirt.syms and passes libvirt.def instead of libvirt.syms to the linker
LIBVIRT_SYMBOL_FILE=libvirt.def
;;
esac
AC_SUBST([CYGWIN_EXTRA_LDFLAGS])
...
...
@@ -1815,6 +1819,7 @@ AC_SUBST([CYGWIN_EXTRA_LIBADD])
AC_SUBST([CYGWIN_EXTRA_PYTHON_LIBADD])
AC_SUBST([MINGW_EXTRA_LDFLAGS])
AC_SUBST([WIN32_EXTRA_CFLAGS])
AC_SUBST([LIBVIRT_SYMBOL_FILE])
dnl Look for windres to build a Windows icon resource.
...
...
src/.gitignore
浏览文件 @
1787fdff
...
...
@@ -12,6 +12,7 @@ Makefile.in
*.cov
libvirt_parthelper
libvirt_lxc
libvirt.def
libvirt.syms
*.i
*.s
...
...
src/Makefile.am
浏览文件 @
1787fdff
...
...
@@ -891,7 +891,7 @@ EXTRA_DIST += \
libvirt_macvtap.syms
\
libvirt_daemon.syms
BUILT_SOURCES
+=
libvirt.syms
BUILT_SOURCES
+=
libvirt.syms
libvirt.def
libvirt.syms
:
libvirt_public.syms $(USED_SYM_FILES)
$(AM_V_GEN)
rm
-f
$@
-tmp
$@
;
\
...
...
@@ -907,11 +907,18 @@ libvirt.syms: libvirt_public.syms $(USED_SYM_FILES)
chmod
a-w
$@
-tmp
&&
\
mv
$@
-tmp
libvirt.syms
libvirt.def
:
libvirt.syms
$(AM_V_GEN)
rm
-f
--
$@
-tmp
$@
;
\
printf
'EXPORTS\n'
>
$@
-tmp
&&
\
sed
-e
'/^$$/d; /#/d; /:/d; /\}/d; /\*/d; /LIBVIRT_/d; s/[ \t]*\(.*\)\;/ \1/g'
$^
>>
$@
-tmp
&&
\
chmod
a-w
$@
-tmp
&&
\
mv
$@
-tmp
libvirt.def
# Empty source list - it merely links a bunch of convenience libs together
libvirt_la_SOURCES
=
libvirt_la_LIBADD
+=
\
$(CYGWIN_EXTRA_LIBADD)
../gnulib/lib/libgnu.la
libvirt_la_LDFLAGS
=
$(VERSION_SCRIPT_FLAGS)
libvirt.syms
\
libvirt_la_LDFLAGS
=
$(VERSION_SCRIPT_FLAGS)
$(LIBVIRT_SYMBOL_FILE)
\
-version-info
$(LIBVIRT_VERSION_INFO)
\
$
(
COVERAGE_CFLAGS:-f%
=
-Wc
,-f%
)
\
$(LIBXML_LIBS)
\
...
...
@@ -919,7 +926,7 @@ libvirt_la_LDFLAGS = $(VERSION_SCRIPT_FLAGS)libvirt.syms \
$(DRIVER_MODULE_LIBS)
\
$(CYGWIN_EXTRA_LDFLAGS)
$(MINGW_EXTRA_LDFLAGS)
libvirt_la_CFLAGS
=
$(COVERAGE_CFLAGS)
-DIN_LIBVIRT
libvirt_la_DEPENDENCIES
=
$(libvirt_la_LIBADD)
libvirt.syms
libvirt_la_DEPENDENCIES
=
$(libvirt_la_LIBADD)
$(LIBVIRT_SYMBOL_FILE)
# Create an automake "convenience library" version of libvirt_la,
# just for testing, since the test harness requires access to internal
...
...
@@ -929,7 +936,7 @@ noinst_LTLIBRARIES += libvirt_test.la
# Remove version script from convenience library
test_LDFLAGS
=
\
$$
(
echo
'
$(libvirt_la_LDFLAGS)
'
\
|sed
's!
$(VERSION_SCRIPT_FLAGS)
libvirt.syms
!!'
\
|sed
's!
$(VERSION_SCRIPT_FLAGS)
$(LIBVIRT_SYMBOL_FILE)
!!'
\
|sed
's!-version-info
$(LIBVIRT_VERSION_INFO)
!!'
)
# Just like the above, but with a slightly different set of public symbols.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录