mirror of
https://github.com/sheumann/hush.git
synced 2025-01-03 00:31:16 +00:00
make output a little more friendly
This commit is contained in:
parent
e13bd362e3
commit
49d15890e0
@ -104,11 +104,11 @@ 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"
|
||||||
LDLIBS="$without_one"
|
LDLIBS="$without_one"
|
||||||
all_needed=false
|
all_needed=false
|
||||||
else
|
else
|
||||||
echo "Library $one is needed"
|
echo " Library $one is needed"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
# All libs were needed, can't remove any
|
# All libs were needed, can't remove any
|
||||||
@ -120,7 +120,7 @@ while test "$LDLIBS"; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Make the binary with final, minimal list of libs
|
# Make the binary with final, minimal list of libs
|
||||||
echo "Final link with: $LDLIBS"
|
echo "Final link with: ${LDLIBS:-<none>}"
|
||||||
l_list=`echo "$LDLIBS" | sed -e 's/ / -l/g' -e 's/^/-l/' -e 's/^-l$//'`
|
l_list=`echo "$LDLIBS" | sed -e 's/ / -l/g' -e 's/^/-l/' -e 's/^-l$//'`
|
||||||
test "x$l_list" != "x" && l_list="-Wl,--start-group $l_list -Wl,--end-group"
|
test "x$l_list" != "x" && l_list="-Wl,--start-group $l_list -Wl,--end-group"
|
||||||
# --verbose gives us gobs of info to stdout (e.g. linker script used)
|
# --verbose gives us gobs of info to stdout (e.g. linker script used)
|
||||||
|
Loading…
Reference in New Issue
Block a user