mirror of
https://github.com/nginx/nginx.git
synced 2026-08-03 22:33:10 +00:00
Configure: call "make clean" for OpenSSL only if Makefile exists.
This change allows to build nginx against git checkout of OpenSSL. Signed-off-by: Piotr Sikora <piotr@cloudflare.com>
This commit is contained in:
parent
b0f025f4fe
commit
49282c8e9d
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ END
|
|||
|
||||
$OPENSSL/.openssl/include/openssl/ssl.h: $NGX_MAKEFILE
|
||||
cd $OPENSSL \\
|
||||
&& \$(MAKE) clean \\
|
||||
&& if [ -f Makefile ]; then \$(MAKE) clean; fi \\
|
||||
&& ./config --prefix=$ngx_prefix no-shared $OPENSSL_OPT \\
|
||||
&& \$(MAKE) \\
|
||||
&& \$(MAKE) install LIBDIR=lib
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue