[Fontconfig] Re: Mathias Hasselmann's libxml2 patch

Behdad Esfahbod behdad at cs.toronto.edu
Sat Sep 24 18:19:08 EST 2005

On Sat, 24 Sep 2005, Keith Packard wrote:

> I'd like to have a matching layer so you could build against either xml
> library; there remain a few environments which may prefer to use expat
> for a while longer yet. Realize that expat is rather a lot smaller tha
> libxml2. Of course, many applications are already using libxml2, making
> expat entirely spurious. If only there were a way to make
> per-application choices about which xml library to use.

Well, on glibc, dlsym(RTLD_DEFAULT, .) can be used to check
whether libxml2 and/or expat are already linked in.

> -keith


More information about the Fontconfig mailing list