From: Eric Blake Date: Thu, 17 Feb 2011 20:16:53 +0000 (-0700) Subject: build: recompute symbols after changing configure options X-Git-Tag: CVE-2011-1146~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=053013b0daa49de1ca52eb72575cfb62eb9dcc44;p=thirdparty%2Flibvirt.git build: recompute symbols after changing configure options $ ./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. --- diff --git a/src/Makefile.am b/src/Makefile.am index 02d5250850..30c6cd304f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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 && \