From 02f7dd34938f5f165c73f9f1e54bf55b2015be31 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sun, 14 Dec 2014 20:42:39 +0100 Subject: [PATCH] iprutils: use correct include path for ncurses The Makefile is hardcoded for /usr/include/ncurses, so override it. Signed-off-by: Peter Korsgaard Reported-by: Romain Naour --- package/iprutils/iprutils.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/iprutils/iprutils.mk b/package/iprutils/iprutils.mk index 53516b6b68..35bffa3c35 100644 --- a/package/iprutils/iprutils.mk +++ b/package/iprutils/iprutils.mk @@ -12,7 +12,8 @@ IPRUTILS_LICENSE = Common Public License Version 1.0 IPRUTILS_LICENSE_FILES = LICENSE define IPRUTILS_BUILD_CMDS - $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all + $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ + INCLUDEDIR="-I. $(shell $(STAGING_DIR)/usr/bin/ncurses5-config --cflags)" all endef define IPRUTILS_INSTALL_TARGET_CMDS -- 2.30.2