mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
Some NWFilter symbols are conditional and have to be exported conditional
This commit is contained in:
parent
87506c2bcf
commit
d1be0aefa9
@ -884,6 +884,10 @@ if WITH_LIBVIRTD
|
||||
USED_SYM_FILES += libvirt_daemon.syms
|
||||
endif
|
||||
|
||||
if WITH_NWFILTER
|
||||
USED_SYM_FILES += libvirt_nwfilter.syms
|
||||
endif
|
||||
|
||||
EXTRA_DIST += \
|
||||
libvirt_public.syms \
|
||||
libvirt_private.syms \
|
||||
@ -891,7 +895,8 @@ EXTRA_DIST += \
|
||||
libvirt_bridge.syms \
|
||||
libvirt_linux.syms \
|
||||
libvirt_macvtap.syms \
|
||||
libvirt_daemon.syms
|
||||
libvirt_daemon.syms \
|
||||
libvirt_nwfilter.syms
|
||||
|
||||
BUILT_SOURCES += libvirt.syms libvirt.def
|
||||
|
||||
|
14
src/libvirt_nwfilter.syms
Normal file
14
src/libvirt_nwfilter.syms
Normal file
@ -0,0 +1,14 @@
|
||||
#
|
||||
# These symbols are dependent on WITH_NWFILTER.
|
||||
#
|
||||
|
||||
|
||||
# nwfilter_gentech_driver.h
|
||||
virNWFilterInstantiateFilter;
|
||||
virNWFilterTeardownFilter;
|
||||
|
||||
|
||||
# nwfilter_learnipaddr.h
|
||||
virNWFilterGetIpAddrForIfname;
|
||||
virNWFilterDelIpAddrForIfname;
|
||||
virNWFilterLookupLearnReq;
|
@ -502,7 +502,7 @@ virNWFilterLockFilterUpdates;
|
||||
virNWFilterUnlockFilterUpdates;
|
||||
|
||||
|
||||
#nwfilter_params.h
|
||||
# nwfilter_params.h
|
||||
virNWFilterHashTableCreate;
|
||||
virNWFilterHashTableFree;
|
||||
virNWFilterHashTablePut;
|
||||
@ -510,17 +510,6 @@ virNWFilterHashTablePutAll;
|
||||
virNWFilterHashTableRemoveEntry;
|
||||
|
||||
|
||||
# nwfilter_gentech_driver.h
|
||||
virNWFilterInstantiateFilter;
|
||||
virNWFilterTeardownFilter;
|
||||
|
||||
|
||||
# nwfilter_learnipaddr.h
|
||||
virNWFilterGetIpAddrForIfname;
|
||||
virNWFilterDelIpAddrForIfname;
|
||||
virNWFilterLookupLearnReq;
|
||||
|
||||
|
||||
# pci.h
|
||||
pciGetDevice;
|
||||
pciFreeDevice;
|
||||
|
Loading…
x
Reference in New Issue
Block a user