# HG changeset patch # User john.levon@xxxxxxx # Date 1230005985 28800 # Node ID 902c5d468563a7cdb208b0a35af688a5e9d0ce05 # Parent 70531f1f56f2853d0385811e849904341b0209a6 imported patch version-script-linux diff --git a/configure.in b/configure.in --- a/configure.in +++ b/configure.in @@ -1248,6 +1248,8 @@ fi fi AM_CONDITIONAL([WITH_NODE_DEVICES], [test "$with_nodedev" = "yes"]) +AM_CONDITIONAL([WITH_LINUX], [test `uname -s` = "Linux"]) + # Only COPYING.LIB is under version control, yet COPYING # is included as part of the distribution tarball. # Copy one to the other, but only if this is a srcdir-build. diff --git a/src/Makefile.am b/src/Makefile.am --- a/src/Makefile.am +++ b/src/Makefile.am @@ -423,6 +423,10 @@ PRIVSYMFILES += libvirt_bridge.syms PRIVSYMFILES += libvirt_bridge.syms endif +if WITH_LINUX +PRIVSYMFILES += libvirt_linux.syms +endif + EXTRA_DIST += libvirt_public.syms $(PRIVSYMFILES) libvirt.syms: libvirt_public.syms $(PRIVSYMFILES) diff --git a/src/libvirt_linux.syms b/src/libvirt_linux.syms new file mode 100644 --- /dev/null +++ b/src/libvirt_linux.syms @@ -0,0 +1,8 @@ +# +# Linux-specific private symbols. +# + + +# stats_linux.h +linuxDomainInterfaceStats; +xenLinuxDomainBlockStats; diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms --- a/src/libvirt_private.syms +++ b/src/libvirt_private.syms @@ -231,11 +231,6 @@ free_qparam_set; free_qparam_set; -# stats_linux.h -linuxDomainInterfaceStats; -xenLinuxDomainBlockStats; - - # storage_backend.h virStorageBackendForType; virStorageBackendRunProgNul; -- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list