[libvirt] [PATCH 2 of 5] Move --with-driver-modules symbols into separate syms file

john.levon at sun.com john.levon at sun.com
Tue Dec 23 04:20:57 UTC 2008


# HG changeset patch
# User john.levon at sun.com
# Date 1230005985 28800
# Node ID 14196f2a21a887edf7a6d107378b567afe7f5127
# Parent  9621540df10095ea8b0cdc83cdd3d17a68509a64
Move --with-driver-modules symbols into separate syms file.

Signed-off-by: John Levon <john.levon at sun.com>

diff --git a/src/Makefile.am b/src/Makefile.am
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -415,6 +415,10 @@ PRIVSYMFILES += libvirt_debug.syms
 PRIVSYMFILES += libvirt_debug.syms
 endif
 
+if WITH_DRIVER_MODULES
+PRIVSYMFILES += libvirt_driver_modules.syms
+endif
+
 EXTRA_DIST += libvirt_public.syms $(PRIVSYMFILES)
 
 libvirt.syms: libvirt_public.syms $(PRIVSYMFILES)
diff --git a/src/libvirt_driver_modules.syms b/src/libvirt_driver_modules.syms
new file mode 100644
--- /dev/null
+++ b/src/libvirt_driver_modules.syms
@@ -0,0 +1,7 @@
+#
+# These symbols are dependent upon --with-driver-modules.
+#
+
+
+# driver.h
+virDriverLoadModule;
diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
--- a/src/libvirt_private.syms
+++ b/src/libvirt_private.syms
@@ -131,10 +131,6 @@ virDomainEventQueueDispatch;
 virDomainEventQueueDispatch;
 
 
-# driver.h
-virDriverLoadModule;
-
-
 # event.h
 virEventAddHandle;
 virEventAddTimeout;




More information about the libvir-list mailing list