From: Eric Blake Date: Tue, 11 May 2010 22:12:15 +0000 (-0600) Subject: libvirt_proxy: link with -lpthread if needed X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=ff1d6f859cec4173c36f780e42e5be455d07b5f7;p=libvirt.git libvirt_proxy: link with -lpthread if needed Continuation of earlier patches to fix LIB_PTHREAD, only triggered by ./configure --with-xen-proxy (a la autobuild.sh). * proxy/Makefile.am (libvirt_proxy_LDADD): Add LIB_PTHREAD. --- diff --git a/proxy/Makefile.am b/proxy/Makefile.am index 9ea91d8f0b..bee47d0775 100644 --- a/proxy/Makefile.am +++ b/proxy/Makefile.am @@ -34,7 +34,7 @@ libvirt_proxy_SOURCES = libvirt_proxy.c \ @top_srcdir@/src/xen/xs_internal.c libvirt_proxy_LDFLAGS = $(WARN_CFLAGS) $(XEN_LIBS) libvirt_proxy_DEPENDENCIES = -libvirt_proxy_LDADD = ../gnulib/lib/libgnu.la +libvirt_proxy_LDADD = ../gnulib/lib/libgnu.la $(LIB_PTHREAD) install-exec-hook: chmod u+s $(DESTDIR)$(libexecdir)/libvirt_proxy