From 00316d987557a96bfd5239c87963b7ad1e3c42bd Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Tue, 31 Jul 2012 23:04:49 +0200 Subject: kconfig: fix ncurses headers location On some distors (eg. latesst openSuSE), the ncurses headers are not located in the usual location. Hard-code this location in the kconfig Makefile, as a (temporary?) workaround. Reported-by: Simon Gornall [Fix suggested by Simon] Signed-off-by: "Yann E. MORIN" diff --git a/kconfig/Makefile b/kconfig/Makefile index a3f1770..93b3fe6 100644 --- a/kconfig/Makefile +++ b/kconfig/Makefile @@ -47,7 +47,7 @@ mconf: LDFLAGS += $(NCURSES_LDFLAGS) nconf_SRC = nconf.c nconf.gui.c nconf_OBJ = $(patsubst %.c,%.o,$(nconf_SRC)) nconf_DEP = $(patsubst %.c,%.dep,$(nconf_SRC)) -$(nconf_OBJ) $(nconf_DEP): CFLAGS += $(INTL_CFLAGS) +$(nconf_OBJ) $(nconf_DEP): CFLAGS += $(INTL_CFLAGS) -I/usr/include/ncurses nconf: LDFLAGS += -lmenu -lpanel -lncurses # Under Cygwin, we need to auto-import some libs (which ones, exactly?) -- cgit v0.10.2-6-g49f6