From: Dmitry Volyntsev Date: Thu, 5 Oct 2017 12:50:16 +0000 (+0300) Subject: Fixed default makefile target is libedit is unavailable. X-Git-Tag: 0.1.14~5 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=3bf0034e667a7f4ca19a0ef919b263b0b7cdb390;p=njs.git 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. --- diff --git a/nxt/auto/editline b/nxt/auto/editline index 55947e19..101693a6 100644 --- a/nxt/auto/editline +++ b/nxt/auto/editline @@ -39,4 +39,9 @@ END else $nxt_echo " - building interactive shell is not possible" + cat << END >> $NXT_MAKEFILE_CONF + +default: all +END + fi