--- zzzz-none-000/linux-4.4.60/scripts/kconfig/Makefile 2017-04-08 07:53:53.000000000 +0000 +++ wasp-540e-714/linux-4.4.60/scripts/kconfig/Makefile 2019-07-03 09:21:34.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: