Break the library search loop as soon as a match is found.
Previously, if a library was present in different places,
then the last occurence would be returned, when the first
one would have been used at runtime.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 78d2f99d403f7092203fc7a119ec19f9a2108afa)
1 This is NOT the official version of dialog. This version has been
2 significantly modified from the original. It is for use by the Linux
3 kernel configuration script. Please do not bother Savio Lam with