diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-11-18 06:42:56 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-11-18 06:42:56 +0000 |
commit | 49d15890e0e445baccc93080e2b99899374fa8ec (patch) | |
tree | 502b193d42f5e226ea8371959f85b73d2c366d6c /scripts/trylink | |
parent | e13bd362e3dc3eafe0503d842335b0290e32646a (diff) | |
download | busybox-49d15890e0e445baccc93080e2b99899374fa8ec.tar.gz |
make output a little more friendly
Diffstat (limited to 'scripts/trylink')
-rwxr-xr-x | scripts/trylink | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/trylink b/scripts/trylink index 4fea6fe76..f57a8a160 100755 --- a/scripts/trylink +++ b/scripts/trylink @@ -104,11 +104,11 @@ while test "$LDLIBS"; do -Wl,--start-group $O_FILES $A_FILES -Wl,--end-group \ $l_list if test $? = 0; then - echo "Library $one is not needed" + echo " Library $one is not needed" LDLIBS="$without_one" all_needed=false else - echo "Library $one is needed" + echo " Library $one is needed" fi done # All libs were needed, can't remove any @@ -120,7 +120,7 @@ while test "$LDLIBS"; do done # 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$//'` 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) |