2016-09-13 18:55 GMT+02:00 Maxim Dounin <mdounin(a)mdounin.ru>:
> Try something like this:
> ./configure --with-http_ssl_module --with-openssl=/path/to/openssl-1.0.2h
> (cd /path/to/openssl-1.0.2h; make depend)
this is crazy :). Why you don't add make depend to nginx build phase of
OpenSSL? It should not harm anyone and build will succeed for first time.
> > I have built OpenSSL libs, so i have .s + .h files :). How to point nginx
> > to this files to static link them please?
> You need .h (include) and .a (static library) files. Then use
sry, no .s but .a files.
> ./configure --with-cc-opt="-I /path/to/openssl/include" --with-ld-opt="-L
that looks cool, I will try it.
I want to use OpenSSL 1.0.2 static linked with nginx. So I'm using
--with-openssl option. But I want to set OpenSSL configure options. Option
OPENSSL_OPT looks like correct way.
If I set this variable:
After OpenSSL configure I got message:
*** Because of configuration changes, you MUST do the following before
And building fails:
make: *** No rule to make target '../../include/openssl/idea.h', needed
by 'e_idea.o'. Stop.
I think you are not calling "make depend" after configuration of OpenSSL
Thanks for help.