]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix pthread related link error for virt-aa-helper
authorMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 7 May 2010 15:52:37 +0000 (17:52 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 7 May 2010 15:52:37 +0000 (17:52 +0200)
Link virt-aa-helper explicitly with pthread. This is at least
required on Ubuntu 10.04.

src/Makefile.am

index 20252081cfeada97113a81d9b4c37789fee6cda8..0da30bbe6e061f50032ad1aa5bde68dadd0be589 100644 (file)
@@ -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)                                  \