mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00: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_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;
|
||||
|
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