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 | |
parent | e13bd362e3dc3eafe0503d842335b0290e32646a (diff) | |
download | busybox-w32-49d15890e0e445baccc93080e2b99899374fa8ec.tar.gz busybox-w32-49d15890e0e445baccc93080e2b99899374fa8ec.tar.bz2 busybox-w32-49d15890e0e445baccc93080e2b99899374fa8ec.zip |
make output a little more friendly
-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 | |||
104 | -Wl,--start-group $O_FILES $A_FILES -Wl,--end-group \ | 104 | -Wl,--start-group $O_FILES $A_FILES -Wl,--end-group \ |
105 | $l_list | 105 | $l_list |
106 | if test $? = 0; then | 106 | if test $? = 0; then |
107 | echo "Library $one is not needed" | 107 | echo " Library $one is not needed" |
108 | LDLIBS="$without_one" | 108 | LDLIBS="$without_one" |
109 | all_needed=false | 109 | all_needed=false |
110 | else | 110 | else |
111 | echo "Library $one is needed" | 111 | echo " Library $one is needed" |
112 | fi | 112 | fi |
113 | done | 113 | done |
114 | # All libs were needed, can't remove any | 114 | # All libs were needed, can't remove any |
@@ -120,7 +120,7 @@ while test "$LDLIBS"; do | |||
120 | done | 120 | done |
121 | 121 | ||
122 | # Make the binary with final, minimal list of libs | 122 | # Make the binary with final, minimal list of libs |
123 | echo "Final link with: $LDLIBS" | 123 | echo "Final link with: ${LDLIBS:-<none>}" |
124 | l_list=`echo "$LDLIBS" | sed -e 's/ / -l/g' -e 's/^/-l/' -e 's/^-l$//'` | 124 | l_list=`echo "$LDLIBS" | sed -e 's/ / -l/g' -e 's/^/-l/' -e 's/^-l$//'` |
125 | test "x$l_list" != "x" && l_list="-Wl,--start-group $l_list -Wl,--end-group" | 125 | test "x$l_list" != "x" && l_list="-Wl,--start-group $l_list -Wl,--end-group" |
126 | # --verbose gives us gobs of info to stdout (e.g. linker script used) | 126 | # --verbose gives us gobs of info to stdout (e.g. linker script used) |