Commit 02f7dd34 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

iprutils: use correct include path for ncurses



The Makefile is hardcoded for /usr/include/ncurses, so override it.

Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
Reported-by: default avatarRomain Naour <romain.naour@openwide.fr>
parent 336a8458
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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