OpenSSL needs `make depend` for certain build options

Maxim Dounin mdounin at mdounin.ru
Wed Jul 8 14:22:17 UTC 2015


Hello!

On Sat, Jul 04, 2015 at 12:05:03PM -0700, Kelly Kane wrote:

> # HG changeset patch
> # User Kelly Kane <kelly.kane at hawknetworks.com>
> # Date 1436031726 25200
> #      Sat Jul 04 10:42:06 2015 -0700
> # Node ID ded8ac7d639ef8cf26cb350fa7ef98
> 665fa60019
> # Parent  114d1f8cdcabe5c7552b518c4d7ac0a7e98930c1
> OpenSSL requires `make depend` for some build options.
> 
> OpenSSL requires `make depend` for some build options. Blindly call it just
> in case.
> 
> diff -r 114d1f8cdcab -r ded8ac7d639e auto/lib/openssl/make
> --- a/auto/lib/openssl/make    Thu Jul 02 17:20:29 2015 +0300
> +++ b/auto/lib/openssl/make    Sat Jul 04 10:42:06 2015 -0700
> @@ -52,6 +52,7 @@
>      cd $OPENSSL \\
>      && if [ -f Makefile ]; then \$(MAKE) clean; fi \\
>      && ./config --prefix=$ngx_prefix no-shared $OPENSSL_OPT \\
> +        && \$(MAKE) depend \\
>      && \$(MAKE) \\
>      && \$(MAKE) install LIBDIR=lib

Given the fact that "make depend" isn't cheap, completely 
undocumented and rarely needed - I would rather not.  If needed, 
one can build OpenSSL manually, without using the --with-openssl 
shortcut.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx-devel mailing list