dialog: fix configure test against ncurses
authorFlorian Fainelli <florian@openwrt.org>
Sat, 8 Mar 2014 00:56:42 +0000 (00:56 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 8 Mar 2014 00:56:42 +0000 (00:56 +0000)
commit5f1476e8eeafb734d4a0ed1e6591ef861cf65b89
tree8cfedc6b44de3830649b7d5f7b3c034d292f62dc
parentef2df66cab6f424f02c1a8cf3e048de9a094bd47
dialog: fix configure test against ncurses

When building on x86_64 hosts, the configure script will try to add /lib64 from
the host to the linker command, which will usually result in failing the
ncurses library test, fix this by checking whether we are cross-compiling or
not.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39802
utils/dialog/Makefile
utils/dialog/patches/001-cross_compile.patch [new file with mode: 0644]