[libvirt] [PATCH] Fix pthread related link error for virt-aa-helper

Matthias Bolte matthias.bolte at googlemail.com
Fri May 7 16:07:08 UTC 2010


Link virt-aa-helper explicitly with pthread. This is at least
required on Ubuntu 10.04.
---

I just pushed this one, as it qualifies as trivial compile fix.

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

diff --git a/src/Makefile.am b/src/Makefile.am
index 2025208..0da30bb 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1002,7 +1002,7 @@ libexec_PROGRAMS += virt-aa-helper
 
 virt_aa_helper_SOURCES = $(SECURITY_DRIVER_APPARMOR_HELPER_SOURCES)
 
-virt_aa_helper_LDFLAGS = $(WARN_CFLAGS)
+virt_aa_helper_LDFLAGS = $(WARN_CFLAGS) $(LIB_PTHREAD)
 virt_aa_helper_LDADD =						\
 		$(WARN_CFLAGS)					\
 		$(LIBXML_LIBS)					\
-- 
1.7.0.4




More information about the libvir-list mailing list