--- zzzz-none-000/linux-4.4.60/scripts/kconfig/Makefile 2017-04-08 07:53:53.000000000 +0000 +++ hawkeye-5590-729/linux-4.4.60/scripts/kconfig/Makefile 2022-03-30 14:21:53.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: