Browse Source

util-linux: disable more command host build because of ncurses dependency

Build on host without ncurses/curses development files and option
HOST_UTIL_LINUX enabled (introduced by [1]) failes because of
text-utils/more.c ncurses dependency (see old commit [2] for details).

[1] http://git.buildroot.net/buildroot/commit/?id=2b18d093cd8a5baaf2e22ce13cc9e527c1937777
[2] http://git.buildroot.net/buildroot/commit/?id=e55532fa08266be268fa35c32a5ee763329a9396

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Peter Seiderer 10 years ago
parent
commit
4a5832fd42
1 changed files with 2 additions and 0 deletions
  1. 2 0
      package/util-linux/util-linux.mk

+ 2 - 0
package/util-linux/util-linux.mk

@@ -120,6 +120,8 @@ HOST_UTIL_LINUX_CONF_OPTS += \
 
 ifeq ($(BR2_PACKAGE_HOST_UTIL_LINUX),y)
 HOST_UTIL_LINUX_CONF_OPTS += --disable-makeinstall-chown
+# disable more command because of ncurses dependency
+HOST_UTIL_LINUX_CONF_OPTS += --disable-more
 else
 HOST_UTIL_LINUX_CONF_OPTS += --disable-all-programs
 endif