cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: NSS support quirks

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 18 Jun 2008 23:33:10 +0200 (CEST)

On Wed, 18 Jun 2008, Axel Tillequin wrote:

> well, i'd suggest then to remove the -I../lib path and rely on the fact that
> "xxx" includes are indeed searched first in ".". Then <base64.h> will be
> taken from the path added by `nss-config --cflags`, and "base64.h" from ".".
> Its a bit tricky but should work.
>
> Of course since some "private" curl headers are needed "outside" the lib
> dir, they have to be found by the compiler...that's why -I../lib was added.
> Actually, I've checked how many of those private headers are used outside if
> the lib dir and it appears that base64.h, curlx.h and memdebug.h are used
> only in tests/server. I'd suggest to modify the way they are included in
> tests/server into "../lib/xxx.h" so that -I../lib can be removed from the
> search path.

Would you by any chance be able to hack up a patch for this that we can test?

-- 
  / daniel.haxx.se
Received on 2008-06-18