--with-openssl and OPENSSL_OPT
mdounin at mdounin.ru
Tue Sep 13 01:40:54 UTC 2016
On Mon, Sep 12, 2016 at 09:55:32PM +0200, Ondřej Nový wrote:
> 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:
> export OPENSSL_OPT=no-idea
> After OpenSSL configure I got message:
> *** Because of configuration changes, you MUST do the following before
> *** building:
> make depend
> 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
If you need to configure openssl configure options which require
"make depend", you can run "make depend" yourself before making
nginx (and thus OpenSSL).
Alternatively, you can make OpenSSL yourself instead of asking
nginx to do it for you. Note that using --with-openssl option of
nginx configure is not something required for static building with
OpenSSL. Rather, it's a convenient shortcut to make things easier
in common cases.
More information about the nginx-devel