trylink: make messages less confusing

This commit is contained in:
Denis Vlasenko 2008-08-26 20:09:08 +00:00
parent 279ca69727
commit b522d6931d

View File

@ -141,12 +141,12 @@ while test "$LDLIBS"; do
-Wl,--start-group $O_FILES $A_FILES -Wl,--end-group \ -Wl,--start-group $O_FILES $A_FILES -Wl,--end-group \
$l_list $l_list
if test $? = 0; then if test $? = 0; then
echo " Library $one is not needed" echo " Library $one is not needed, excluding it"
LDLIBS="$without_one" LDLIBS="$without_one"
all_needed=false all_needed=false
last_needed=false last_needed=false
else else
echo " Library $one is needed" echo " Library $one is needed, can't exclude it (yet)"
last_needed=true last_needed=true
fi fi
done done