1
0
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:
Matthias Bolte 2010-04-23 18:39:08 +02:00
parent 87506c2bcf
commit d1be0aefa9
3 changed files with 21 additions and 13 deletions

View File

@ -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
View File

@ -0,0 +1,14 @@
#
# These symbols are dependent on WITH_NWFILTER.
#
# nwfilter_gentech_driver.h
virNWFilterInstantiateFilter;
virNWFilterTeardownFilter;
# nwfilter_learnipaddr.h
virNWFilterGetIpAddrForIfname;
virNWFilterDelIpAddrForIfname;
virNWFilterLookupLearnReq;

View File

@ -510,17 +510,6 @@ virNWFilterHashTablePutAll;
virNWFilterHashTableRemoveEntry;
# nwfilter_gentech_driver.h
virNWFilterInstantiateFilter;
virNWFilterTeardownFilter;
# nwfilter_learnipaddr.h
virNWFilterGetIpAddrForIfname;
virNWFilterDelIpAddrForIfname;
virNWFilterLookupLearnReq;
# pci.h
pciGetDevice;
pciFreeDevice;