[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [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.
---

This is not the first time we've had a file that needs to be
rebuilt after a configure change (see {daemon/tools}/Makefile.am
for precedence).

 src/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 02d5250..30c6cd3 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 && \
-- 
1.7.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]