mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
Export conditional state driver symbols only when they are defined
This is necessary for MinGW builds.
This commit is contained in:
parent
91da9a7689
commit
6d45d5855d
@ -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
|
||||
|
||||
|
10
src/libvirt_daemon.syms
Normal file
10
src/libvirt_daemon.syms
Normal file
@ -0,0 +1,10 @@
|
||||
#
|
||||
# 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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user