On Fri, 27 Jul 2007, Andreas Schuldei wrote:
> my goal is to switch curl in debian to use c-ares as a "plugin", meaning
> detecting its so-name at compile time and trying to dlopen it in case it is
> available at run time.
Sure, an application's build/configure script can of course use c-ares'
pkg-config (or similar) to figure out its full name to know what to dlopen.
> i am not sure yet if curl needs pkg-config too in order to make that work
> well. Do you know? (i am not yet subscribed to the curl mailing list.)
This is clearly a topic for the curl-library list. Doing a dlopening of c-ares
in libcurl is quite a challange in more ways than "just" using pkg-config or
not...
-- c-ares -- my preferred DNS asynch resolver libraryReceived on 2007-07-27