util-linux: Add --without-ncurses to host-util-linux
authorOlivier Schonken <olivier.schonken@gmail.com>
Fri, 1 Nov 2013 11:59:01 +0000 (13:59 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 1 Nov 2013 14:26:07 +0000 (15:26 +0100)
Ncurses not necessary when building host-util-linux, so passing
--without-ncurses avoids from misdetecting an installed host ncurses
on the build machine.

[Thomas: improve commit message]
Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/util-linux/util-linux.mk

index 4db1e524e5cf65d2f7f26657f313a6118c617289..a694f3d4876af46a7a04ab4da2d3415db61a435d 100644 (file)
@@ -84,7 +84,7 @@ HOST_UTIL_LINUX_CONF_OPT += \
        --disable-login --disable-mount --disable-partx \
        --disable-pivot_root --disable-rename --disable-schedutils \
        --disable-su --disable-switch_root --disable-unshare \
-       --disable-uuidd --disable-wall
+       --disable-uuidd --disable-wall --without-ncurses
 
 # Avoid building the tools if they are disabled since we can't install on
 # a per-directory basis.