# HG changeset patch # User Piotr Sikora # Date 1383613225 28800 # Node ID f817f9d1cded8316dc804b50527dfab19d928834 # 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 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