From 49282c8e9d34d7773add4d6996b36974f26ce3ef Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Mon, 4 Nov 2013 17:00:25 -0800 Subject: [PATCH] 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 --- auto/lib/openssl/make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto/lib/openssl/make b/auto/lib/openssl/make index 9090fcbfd..e64acd973 100644 --- 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