Re: [xml] makefile for libxml2 wrong with threads
- From: Daniel Veillard <veillard redhat com>
- To: Gary Pennington sun com
- Cc: xml gnome org
- Subject: Re: [xml] makefile for libxml2 wrong with threads
- Date: Mon, 1 Jul 2002 17:55:47 -0400
On Mon, Jul 01, 2002 at 03:20:11PM +0100, Gary Pennington sun com wrote:
On Wed, Jun 26, 2002 at 03:10:24PM +0100, Gary Pennington - Solaris Kernel Technology wrote:
There is a problem in the libxml2 build environment if you are building the
library with support for threads.
If you examine the makefile, the target which generates the library, i.e. the
libxml2.la target, (through libtool) should have $(THREAD_CFLAGS) and
$(THREAD_LIBS) added to it.
[...]
! libxml2_la_LIBADD = @THREAD_LIBS@ @Z_LIBS@ $(ICONV_LIBS) -lm
[...]
I've tested the patch using --with-threads, in which case I get the appropriate
linkage for libxml2.so to -lpthread, and without it, in which case -lpthread
is correctly ommited from the link step.
Okay, applied and commited into CVS !
thanks !
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]