]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
build: recompute symbols after changing configure options
authorEric Blake <eblake@redhat.com>
Thu, 17 Feb 2011 20:16:53 +0000 (13:16 -0700)
committerEric Blake <eblake@redhat.com>
Fri, 18 Feb 2011 15:58:36 +0000 (08:58 -0700)
$ ./configure
...
$ make
...
  GEN    libvirt.syms
...
$ ./configure --with-driver-modules
...
$ make
...

libvirt.syms doesn't get regenerated but it should as it should
contain virDriverLoadModule now.

* src/Makefile.am (libvirt.syms): Depend on configure changes.
Reported by Matthias Bolte.

src/Makefile.am

index 02d525085043251a2257f643570de318e54fff4a..30c6cd304fbd65179931de5f5f3757bd71703e49 100644 (file)
@@ -1074,7 +1074,8 @@ EXTRA_DIST += \
 
 BUILT_SOURCES += libvirt.syms libvirt.def libvirt_qemu.def
 
-libvirt.syms: libvirt_public.syms $(USED_SYM_FILES)
+libvirt.syms: libvirt_public.syms $(USED_SYM_FILES) \
+               $(top_builddir)/config.status
        $(AM_V_GEN)rm -f $@-tmp $@ ; \
        printf '# WARNING: generated from the following:\n# $^\n\n' >$@-tmp && \
        cat $(srcdir)/libvirt_public.syms >>$@-tmp && \