cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Build libcurl with NSS support

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 11 Jun 2016 11:30:58 +0200 (CEST)

On Thu, 9 Jun 2016, Cody Pritchard (cpritchard) wrote:

> I opened up the config script file and am looking at the conditional block
> you mentioned.
>
> So what you are saying is that it should have worked and compiled fine but
> something is going wrong?

I was referrring to this:

https://github.com/curl/curl/blob/master/configure.ac#L2290

... which on line 2302 should make that -I end up in CPPFLAGS that then should
end up being used.

And given that, I didn't spot why that include path didn't end up being used
in the final makefile.

> Is there any possibility of changing the paths in the config file to help it
> find the proper files that make needs?

The include path you're missing should be passed to the compiler (or
preprocessor to be strict) so it should be set in lib/Makefile. See the
"CPPFLAGS = " assignment that appears somewhere around line 400 or so (I
figure it'll depend on automake version etc).

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-06-11