[libvirt] [PATCH] util: fix "make rpm" when viratomic.h is used

Laine Stump laine at laine.org
Mon Jun 4 18:48:47 UTC 2012


Although src/util/viratomic.h has been added to the repo, up until now
it hasn't been used. Stefan Berger is using it in his proposed dhcp
snooping patches, and an rpm build with those patches failed due to
viratomic.h not being packed up with the rest of the sources.

Pushed under build-breaker + trivial rules (although it only breaks
the build if you add a use of viratomic.h, it is rather trivial :-)

---
 src/Makefile.am |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Makefile.am b/src/Makefile.am
index d727889..5693fb4 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -79,6 +79,7 @@ UTIL_SOURCES =							\
 		util/threadpool.c util/threadpool.h		\
 		util/uuid.c util/uuid.h				\
 		util/util.c util/util.h				\
+		util/viratomic.h				\
 		util/viraudit.c util/viraudit.h			\
 		util/virauth.c util/virauth.h			\
 		util/virauthconfig.c util/virauthconfig.h	\
-- 
1.7.10.2




More information about the libvir-list mailing list