--- zzzz-none-000/linux-4.4.60/scripts/kconfig/Makefile 2017-04-08 07:53:53.000000000 +0000 +++ scorpion-7490-727/linux-4.4.60/scripts/kconfig/Makefile 2021-02-04 17:41:59.000000000 +0000 @@ -161,6 +161,9 @@ # we really need to do so. (Do not call gcc as part of make mrproper) HOST_EXTRACFLAGS += $(shell $(CONFIG_SHELL) $(check-lxdialog) -ccflags) \ -DLOCALE +ifeq ($(shell uname -s),Darwin) +HOST_LOADLIBES += -lncurses +endif # =========================================================================== # Shared Makefile for the various kconfig executables: