dialog: fix configure test against ncurses
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 8 Mar 2014 00:56:42 +0000 (00:56 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 8 Mar 2014 00:56:42 +0000 (00:56 +0000)
commit632b8c1325f905005af03673e15828271d66fad8
tree8cfedc6b44de3830649b7d5f7b3c034d292f62dc
parent46c2e926d12f349ce602d352c77125e27dd400fb
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>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39802 3c298f89-4303-0410-b956-a3cf2f4a3e73
utils/dialog/Makefile
utils/dialog/patches/001-cross_compile.patch [new file with mode: 0644]