scripts/lxdialog: find ncurses even in Multi-arch

Adapt 'find' command so that it not only searches in the directories given,
but also in the directories one level below, allowing to find the ncurses
library even in installations where ncurses is already Multi-Arch-ified.
This commit is contained in:
Peter Marschall 2012-04-19 21:27:29 +02:00
parent fc1550ab47
commit ebd403b0ff
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ all: ncurses lxdialog
lxdialog: $(OBJS)
ncurses:
@x=`find /lib/ /usr/lib/ /usr/local/lib/ -maxdepth 1 -name 'libncurses.*'` ;\
@x=`find /lib/ /usr/lib/ /usr/local/lib/ -maxdepth 2 -name 'libncurses.*'` ;\
if [ ! "$$x" ]; then \
/bin/echo -e "\007" ;\
echo ">> Unable to find the Ncurses libraries." ;\