From 053013b0daa49de1ca52eb72575cfb62eb9dcc44 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Thu, 17 Feb 2011 13:16:53 -0700 Subject: [PATCH] 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. --- src/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 && \ -- 2.47.2