Welcome! Log In Create A New Profile

Advanced

[nginx] Configure: call "make clean" for OpenSSL only if Makefil...

Maxim Dounin
November 05, 2013 11:32AM
details: http://hg.nginx.org/nginx/rev/f817f9d1cded
branches:
changeset: 5438:f817f9d1cded
user: Piotr Sikora <piotr@cloudflare.com>
date: Mon Nov 04 17:00:25 2013 -0800
description:
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>

diffstat:

auto/lib/openssl/make | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/auto/lib/openssl/make b/auto/lib/openssl/make
--- a/auto/lib/openssl/make
+++ b/auto/lib/openssl/make
@@ -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

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Configure: call "make clean" for OpenSSL only if Makefil...

Maxim Dounin 816 November 05, 2013 11:32AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 136
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready