提交 6d45d585 编写于 作者: M Matthias Bolte

Export conditional state driver symbols only when they are defined

This is necessary for MinGW builds.
上级 91da9a76
......@@ -813,13 +813,18 @@ if WITH_MACVTAP
USED_SYM_FILES += libvirt_macvtap.syms
endif
if WITH_LIBVIRTD
USED_SYM_FILES += libvirt_daemon.syms
endif
EXTRA_DIST += \
libvirt_public.syms \
libvirt_private.syms \
libvirt_driver_modules.syms \
libvirt_bridge.syms \
libvirt_linux.syms \
libvirt_macvtap.syms
libvirt_macvtap.syms \
libvirt_daemon.syms
BUILT_SOURCES = libvirt.syms
......
#
# These symbols are dependent upon --with-libvirtd via WITH_LIBVIRTD.
#
# libvirt_internal.h
virStateInitialize;
virStateCleanup;
virStateReload;
virStateActive;
virRegisterStateDriver;
......@@ -285,10 +285,6 @@ iptablesRemoveUdpInput;
# libvirt_internal.h
virStateInitialize;
virStateCleanup;
virStateReload;
virStateActive;
virDrvSupportsFeature;
virDomainMigratePrepare;
virDomainMigratePerform;
......@@ -299,7 +295,6 @@ virDomainMigratePrepareTunnel;
virRegisterDriver;
virRegisterInterfaceDriver;
virRegisterNetworkDriver;
virRegisterStateDriver;
virRegisterStorageDriver;
virRegisterDeviceMonitor;
virRegisterSecretDriver;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册