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:
parent
fc1550ab47
commit
ebd403b0ff
|
@ -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." ;\
|
||||
|
|
Loading…
Reference in New Issue