From 3bf0034e667a7f4ca19a0ef919b263b0b7cdb390 Mon Sep 17 00:00:00 2001 From: Dmitry Volyntsev Date: Thu, 5 Oct 2017 15:50:16 +0300 Subject: [PATCH] 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. --- nxt/auto/editline | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.47.3