Index: scripts/kconfig/Makefile =================================================================== RCS file: /soft/cvs/Linux/kernel/linux/scripts/kconfig/Makefile,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- scripts/kconfig/Makefile 5 Mar 2007 13:02:59 -0000 1.1.1.1 +++ scripts/kconfig/Makefile 6 Mar 2007 10:08:36 -0000 1.2 @@ -148,6 +148,13 @@ else echo no ; fi) ifeq ($(KBUILD_HAVE_NLS),no) HOSTCFLAGS += -DKBUILD_NO_NLS +else +HOST_OS := $(shell uname -o) +ifeq ($(HOST_OS),Cygwin) +HOSTLOADLIBES_conf = -lintl +endif + + endif # generated files seem to need this to find local include files Index: scripts/kconfig/lxdialog/check-lxdialog.sh =================================================================== RCS file: /soft/cvs/Linux/kernel/linux/scripts/kconfig/lxdialog/check-lxdialog.sh,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- scripts/kconfig/lxdialog/check-lxdialog.sh 5 Mar 2007 13:02:59 -0000 1.1.1.1 +++ scripts/kconfig/lxdialog/check-lxdialog.sh 6 Mar 2007 10:08:36 -0000 1.2 @@ -19,6 +19,11 @@ echo '-lcurses' exit fi + $cc -print-file-name=libncurses.a | grep -q / + if [ $? -eq 0 ]; then + echo '-lintl -lncurses' + exit + fi exit 1 }