Welcome! Log In Create A New Profile

Advanced

[PATCH] Configure: call "make clean" for OpenSSL only if Makefile exists.

Piotr Sikora
November 04, 2013 08:08PM
# HG changeset patch
# User Piotr Sikora <piotr@cloudflare.com>
# Date 1383613225 28800
# Mon Nov 04 17:00:25 2013 -0800
# Node ID 6d03c58d4b1c3fdd87f42a9ceaf8daa68d11365a
# Parent dea321e5c0216efccbb23e84bbce7cf3e28f130c
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>

diff -r dea321e5c021 -r 6d03c58d4b1c auto/lib/openssl/make
--- a/auto/lib/openssl/make Thu Oct 31 18:23:49 2013 +0400
+++ b/auto/lib/openssl/make Mon Nov 04 17:00:25 2013 -0800
@@ -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

[PATCH] Configure: call "make clean" for OpenSSL only if Makefile exists. Attachments

Piotr Sikora 586 November 04, 2013 08:08PM

Re: [PATCH] Configure: call "make clean" for OpenSSL only if Makefile exists.

Maxim Dounin 275 November 05, 2013 11:32AM



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

Online Users

Guests: 152
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready