]> xenbits.xensource.com Git - libvirt.git/commitdiff
avoid link error in tests using libvirt_util; due to pthread_sigmask
authorJim Meyering <meyering@redhat.com>
Fri, 7 May 2010 14:23:44 +0000 (16:23 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 7 May 2010 14:55:42 +0000 (16:55 +0200)
* src/Makefile.am (libvirt_util_la_LDFLAGS): Add $(LIB_PTHREAD),
required, now that we're using gnulib's pthread module.

src/Makefile.am

index dc76d032d34ceaca804a671813ad3b5c17abd392..20252081cfeada97113a81d9b4c37789fee6cda8 100644 (file)
@@ -363,7 +363,7 @@ libvirt_la_LIBADD = libvirt_util.la
 libvirt_util_la_SOURCES =                                      \
                $(UTIL_SOURCES)
 libvirt_util_la_CFLAGS =  $(CAPNG_CFLAGS) $(YAJL_CFLAGS)
-libvirt_util_la_LDFLAGS =  $(CAPNG_LIBS) $(YAJL_LIBS)
+libvirt_util_la_LDFLAGS =  $(CAPNG_LIBS) $(YAJL_LIBS) $(LIB_PTHREAD)
 
 
 noinst_LTLIBRARIES += libvirt_conf.la