# HG changeset patch
# User Piotr Sikora <[email protected]>
# 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 <[email protected]>

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

Attachment: nginx__configure_3.patch
Description: Binary data

_______________________________________________
nginx-devel mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to