]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
src: Check libvirt_admin.syms for exported symbols
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 31 Aug 2015 09:35:46 +0000 (11:35 +0200)
committerCole Robinson <crobinso@redhat.com>
Tue, 22 Sep 2015 00:18:03 +0000 (20:18 -0400)
We have this check rule in src/Makefile: check-symfile that
should check if all symbols we wanted to export are exported.
Moreover, if we are not exporting something more. Do the same
with libvirt_admin.syms.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
(cherry picked from commit 74f11dd25b162aa3b79b62b7530bc531e1571f34)

src/Makefile.am

index f8a67fbe8e9276deeea2d3b8baa8973fa0334525..8ef44ce9a7ebad6c897b1cff734ee56b7fb15b8b 100644 (file)
@@ -486,8 +486,12 @@ if WITH_LINUX
 check-symfile: libvirt.syms libvirt.la
        $(AM_V_GEN)$(PERL) $(srcdir)/check-symfile.pl libvirt.syms \
          .libs/libvirt.so
+check-admin-symfile: libvirt_admin.syms libvirt-admin.la
+       $(AM_V_GEN)$(PERL) $(srcdir)/check-symfile.pl libvirt_admin.syms \
+         .libs/libvirt-admin.so
 else ! WITH_LINUX
 check-symfile:
+check-admin-symfile:
 endif ! WITH_LINUX
 check-symsorting:
        $(AM_V_GEN)$(PERL) $(srcdir)/check-symsorting.pl \
@@ -610,7 +614,7 @@ EXTRA_DIST += check-driverimpls.pl check-aclrules.pl check-aclperms.pl
 
 check-local: check-protocol check-symfile check-symsorting \
        check-drivername check-driverimpls check-aclrules \
-       check-aclperms
+       check-aclperms check-admin-symfile
 .PHONY: check-protocol $(PROTOCOL_STRUCTS:structs=struct)
 
 # Mock driver, covering domains, storage, networks, etc