[njs] Fixed default makefile target is libedit is unavailable.

Dmitry Volyntsev xeioex at nginx.com
Thu Oct 5 12:51:00 UTC 2017


details:   http://hg.nginx.org/njs/rev/d0e24fa20991
branches:  
changeset: 412:d0e24fa20991
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Thu Oct 05 15:50:16 2017 +0300
description:
Fixed default makefile target is libedit is unavailable.

Previously, if libedit was unavailable, any extra target which could be
added by feature scripts became the first and default target. It breaks
builds without arguments.

Adding the default target in this case to ensure that the proper target
is always selected.

diffstat:

 nxt/auto/editline |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r d45f6f0079ab -r d0e24fa20991 nxt/auto/editline
--- a/nxt/auto/editline	Wed Oct 04 18:58:10 2017 +0300
+++ b/nxt/auto/editline	Thu Oct 05 15:50:16 2017 +0300
@@ -39,4 +39,9 @@ END
 else
     $nxt_echo " - building interactive shell is not possible"
 
+    cat << END >> $NXT_MAKEFILE_CONF
+
+default:	all
+END
+
 fi


More information about the nginx-devel mailing list