diff --git a/ChangeLog b/ChangeLog index f97e4c497e..9d7ac01334 100644 --- a/ChangeLog +++ b/ChangeLog @@ -16,6 +16,11 @@ Mon Jan 5 2009 14:53:48 CET John Levon * src/libvirt_public.syms: Renamed from src/libvirt_sym.version.in. * src/libvirt_debug.syms: New file. * src/libvirt_private.syms: New file. + + Move --with-driver-modules symbols into a separate sym file + * src/Makefile.am (PRIVSYMFILES): Append libvirt_driver_modules.syms. + * src/libvirt_private.syms: Move virDriverLoadModule into... + * src/libvirt_driver_modules.syms: ... this new file. Author: John Levon Mon Jan 5 14:22:06 CET 2009 Jim Meyering diff --git a/src/Makefile.am b/src/Makefile.am index 984c12a802..29b4df66ea 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -415,6 +415,10 @@ if ENABLE_DEBUG 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 index 0000000000..ce8d9b80b2 --- /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 index fb7b5f9af0..6f3cd672f6 100644 --- a/src/libvirt_private.syms +++ b/src/libvirt_private.syms @@ -131,10 +131,6 @@ virDomainEventDispatch; virDomainEventQueueDispatch; -# driver.h -virDriverLoadModule; - - # event.h virEventAddHandle; virEventAddTimeout;