mirror of
https://github.com/nginx/nginx.git
synced 2024-12-22 15:13:28 -06: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
@ -55,7 +55,7 @@ END
|
|||||||
|
|
||||||
$OPENSSL/.openssl/include/openssl/ssl.h: $NGX_MAKEFILE
|
$OPENSSL/.openssl/include/openssl/ssl.h: $NGX_MAKEFILE
|
||||||
cd $OPENSSL \\
|
cd $OPENSSL \\
|
||||||
&& \$(MAKE) clean \\
|
&& if [ -f Makefile ]; then \$(MAKE) clean; fi \\
|
||||||
&& ./config --prefix=$ngx_prefix no-shared $OPENSSL_OPT \\
|
&& ./config --prefix=$ngx_prefix no-shared $OPENSSL_OPT \\
|
||||||
&& \$(MAKE) \\
|
&& \$(MAKE) \\
|
||||||
&& \$(MAKE) install LIBDIR=lib
|
&& \$(MAKE) install LIBDIR=lib
|
||||||
|
Loading…
Reference in New Issue
Block a user