From: Ian Campbell Subject: Re: [PATCH 07/20] libxl: Use PTHREAD_CFLAGS, LDFLAGS, LIBS Date: Tue, 20 Mar 2012 09:43:28 +0000 Message-ID: <1332236608.9223.145.camel@zakaz.uk.xensource.com> References: <1331915215-10477-1-git-send-email-ian.jackson@eu.citrix.com> <1331915215-10477-8-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1331915215-10477-8-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Fri, 2012-03-16 at 16:26 +0000, Ian Jackson wrote: > This is going to be needed for pthread_atfork. It is a mystery why it > hasn't been needed before. > > Signed-off-by: Ian Jackson Acked-by: Ian Campbell > --- > tools/libxl/Makefile | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile > index e44fcfa..80c36ad 100644 > --- a/tools/libxl/Makefile > +++ b/tools/libxl/Makefile > @@ -22,6 +22,10 @@ endif > LIBXL_LIBS = > LIBXL_LIBS = $(LDLIBS_libxenctrl) $(LDLIBS_libxenguest) $(LDLIBS_libxenstore) $(LDLIBS_libblktapctl) $(UTIL_LIBS) $(LIBUUID_LIBS) > > +CFLAGS += $(PTHREAD_CFLAGS) > +LDFLAGS += $(PTHREAD_LDFLAGS) > +LIBXL_LIBS += $(PTHREAD_LIBS) > + > LIBXLU_LIBS = > > LIBXL_OBJS-y = osdeps.o libxl_paths.o libxl_bootloader.o flexarray.o