svn commit: trunk/busybox/scripts

vapier at busybox.net vapier at busybox.net
Sun Nov 18 06:42:58 UTC 2007


Author: vapier
Date: 2007-11-17 22:42:56 -0800 (Sat, 17 Nov 2007)
New Revision: 20449

Log:
make output a little more friendly

Modified:
   trunk/busybox/scripts/trylink


Changeset:
Modified: trunk/busybox/scripts/trylink
===================================================================
--- trunk/busybox/scripts/trylink	2007-11-18 06:17:52 UTC (rev 20448)
+++ trunk/busybox/scripts/trylink	2007-11-18 06:42:56 UTC (rev 20449)
@@ -104,11 +104,11 @@
 		-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 @@
 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)




More information about the busybox-cvs mailing list