Re: [xml] Generating a correct xml2-config for use with --libs
- From: Daniel Veillard <veillard redhat com>
- To: Gary Pennington <Gary Pennington sun com>
- Cc: xml gnome org
- Subject: Re: [xml] Generating a correct xml2-config for use with --libs
- Date: Thu, 13 Jun 2002 08:47:05 -0400
On Thu, Jun 13, 2002 at 01:33:38PM +0100, Gary Pennington wrote:
Daniel Veillard wrote:
Maybe Solaris doesn't need this, but then please make the patch conditional
to Solaris first (unless I misunderstood something).
I didn't think this was Solaris specific...
An application need only link against libraries it explicitly uses. If
foo uses networking code, then it should link with the appropriate
networking libraries. If however, foo's only "use" of networking is
performed by libxml2, then it is libxml2 which needs to link with the
networking libraries and not foo.
I don't think this statement is portable, sorry ! There are systems
where libraries can't record those informations.
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]