summaryrefslogtreecommitdiff
path: root/kconfig
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@free.fr>2012-07-31 21:04:49 (GMT)
committerYann E. MORIN" <yann.morin.1998@free.fr>2012-07-31 21:04:49 (GMT)
commit00316d987557a96bfd5239c87963b7ad1e3c42bd (patch)
treec6c94f0b36448d39975bf17486de0466e53e8c6f /kconfig
parent52b7a1973eba216a6c8c0f554e78b04b95d946ae (diff)
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 <sgornall@apple.com> [Fix suggested by Simon] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'kconfig')
-rw-r--r--kconfig/Makefile2
1 files changed, 1 insertions, 1 deletions
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?)