mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 05:51:45 -09:00
iprutils: use correct include path for ncurses
The Makefile is hardcoded for /usr/include/ncurses, so override it. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Reported-by: Romain Naour <romain.naour@openwide.fr>
This commit is contained in:
@@ -12,7 +12,8 @@ IPRUTILS_LICENSE = Common Public License Version 1.0
|
|||||||
IPRUTILS_LICENSE_FILES = LICENSE
|
IPRUTILS_LICENSE_FILES = LICENSE
|
||||||
|
|
||||||
define IPRUTILS_BUILD_CMDS
|
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
|
endef
|
||||||
|
|
||||||
define IPRUTILS_INSTALL_TARGET_CMDS
|
define IPRUTILS_INSTALL_TARGET_CMDS
|
||||||
|
|||||||
Reference in New Issue
Block a user