--- zzzz-none-000/linux-4.4.60/scripts/kconfig/Makefile 2017-04-08 07:53:53.000000000 +0000 +++ dragonfly-4020-701/linux-4.4.60/scripts/kconfig/Makefile 2018-11-08 13:36:17.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: