提交 a07d1784 编写于 作者: M Matthias Bolte

Fix build with --with-driver-modules enabled

Export a bunch of missing symbols and link the remote driver to gnulib.
上级 4b997daa
......@@ -553,6 +553,7 @@ libvirt_driver_remote_la_CFLAGS = \
libvirt_driver_remote_la_LDFLAGS = $(AM_LDFLAGS)
libvirt_driver_remote_la_LIBADD = $(GNUTLS_LIBS) $(SASL_LIBS)
if WITH_DRIVER_MODULES
libvirt_driver_remote_la_LIBADD += ../gnulib/lib/libgnu.la
libvirt_driver_remote_la_LDFLAGS += -module -avoid-version
endif
libvirt_driver_remote_la_SOURCES = $(REMOTE_DRIVER_SOURCES)
......@@ -1077,6 +1078,10 @@ if WITH_VMX
USED_SYM_FILES += libvirt_vmx.syms
endif
if WITH_XENXS
USED_SYM_FILES += libvirt_xenxs.syms
endif
EXTRA_DIST += \
libvirt_public.syms \
libvirt_private.syms \
......@@ -1086,7 +1091,8 @@ EXTRA_DIST += \
libvirt_macvtap.syms \
libvirt_daemon.syms \
libvirt_nwfilter.syms \
libvirt_vmx.syms
libvirt_vmx.syms \
libvirt_xenxs.syms
BUILT_SOURCES += libvirt.syms libvirt.def libvirt_qemu.def
......
......@@ -932,6 +932,7 @@ virEventRemoveHandle;
virExec;
virExecWithHook;
virFileAbsPath;
virFileBuildPath;
virFileDeletePid;
virFileExists;
virFileFindMountPoint;
......@@ -1020,6 +1021,8 @@ virStrerror;
# xml.h
virXMLParseFileHelper;
virXMLParseHelper;
virXMLParseStrHelper;
virXMLPropString;
virXPathBoolean;
......
#
# These symbols are dependent upon --with-xen via WITH_XEN or --with-libxl via WITH_LIBXL.
#
# xen_sxpr.h
xenFormatSxpr;
xenFormatSxprChr;
xenFormatSxprDisk;
xenFormatSxprNet;
xenFormatSxprOnePCI;
xenFormatSxprSound;
xenGetDomIdFromSxpr;
xenGetDomIdFromSxprString;
xenParseSxpr;
xenParseSxprChar;
xenParseSxprSound;
xenParseSxprString;
# xen_xm.h
xenFormatXM;
xenParseXM;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册