mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 09:17:52 +03:00
Fix build with --with-driver-modules enabled
Export a bunch of missing symbols and link the remote driver to gnulib.
This commit is contained in:
parent
4b997daaf5
commit
a07d178447
@ -553,6 +553,7 @@ libvirt_driver_remote_la_CFLAGS = \
|
|||||||
libvirt_driver_remote_la_LDFLAGS = $(AM_LDFLAGS)
|
libvirt_driver_remote_la_LDFLAGS = $(AM_LDFLAGS)
|
||||||
libvirt_driver_remote_la_LIBADD = $(GNUTLS_LIBS) $(SASL_LIBS)
|
libvirt_driver_remote_la_LIBADD = $(GNUTLS_LIBS) $(SASL_LIBS)
|
||||||
if WITH_DRIVER_MODULES
|
if WITH_DRIVER_MODULES
|
||||||
|
libvirt_driver_remote_la_LIBADD += ../gnulib/lib/libgnu.la
|
||||||
libvirt_driver_remote_la_LDFLAGS += -module -avoid-version
|
libvirt_driver_remote_la_LDFLAGS += -module -avoid-version
|
||||||
endif
|
endif
|
||||||
libvirt_driver_remote_la_SOURCES = $(REMOTE_DRIVER_SOURCES)
|
libvirt_driver_remote_la_SOURCES = $(REMOTE_DRIVER_SOURCES)
|
||||||
@ -1077,6 +1078,10 @@ if WITH_VMX
|
|||||||
USED_SYM_FILES += libvirt_vmx.syms
|
USED_SYM_FILES += libvirt_vmx.syms
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if WITH_XENXS
|
||||||
|
USED_SYM_FILES += libvirt_xenxs.syms
|
||||||
|
endif
|
||||||
|
|
||||||
EXTRA_DIST += \
|
EXTRA_DIST += \
|
||||||
libvirt_public.syms \
|
libvirt_public.syms \
|
||||||
libvirt_private.syms \
|
libvirt_private.syms \
|
||||||
@ -1086,7 +1091,8 @@ EXTRA_DIST += \
|
|||||||
libvirt_macvtap.syms \
|
libvirt_macvtap.syms \
|
||||||
libvirt_daemon.syms \
|
libvirt_daemon.syms \
|
||||||
libvirt_nwfilter.syms \
|
libvirt_nwfilter.syms \
|
||||||
libvirt_vmx.syms
|
libvirt_vmx.syms \
|
||||||
|
libvirt_xenxs.syms
|
||||||
|
|
||||||
BUILT_SOURCES += libvirt.syms libvirt.def libvirt_qemu.def
|
BUILT_SOURCES += libvirt.syms libvirt.def libvirt_qemu.def
|
||||||
|
|
||||||
|
@ -932,6 +932,7 @@ virEventRemoveHandle;
|
|||||||
virExec;
|
virExec;
|
||||||
virExecWithHook;
|
virExecWithHook;
|
||||||
virFileAbsPath;
|
virFileAbsPath;
|
||||||
|
virFileBuildPath;
|
||||||
virFileDeletePid;
|
virFileDeletePid;
|
||||||
virFileExists;
|
virFileExists;
|
||||||
virFileFindMountPoint;
|
virFileFindMountPoint;
|
||||||
@ -1020,6 +1021,8 @@ virStrerror;
|
|||||||
|
|
||||||
|
|
||||||
# xml.h
|
# xml.h
|
||||||
|
virXMLParseFileHelper;
|
||||||
|
virXMLParseHelper;
|
||||||
virXMLParseStrHelper;
|
virXMLParseStrHelper;
|
||||||
virXMLPropString;
|
virXMLPropString;
|
||||||
virXPathBoolean;
|
virXPathBoolean;
|
||||||
|
21
src/libvirt_xenxs.syms
Normal file
21
src/libvirt_xenxs.syms
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
#
|
||||||
|
# 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;
|
Loading…
Reference in New Issue
Block a user