scripts/trylink: libbusybox fix
[oweals/busybox.git] / scripts / trylink
index 129570a60e021c2bfdba24508572616ba504d961..145df9959091637935a88817132a6f95094a13a2 100755 (executable)
@@ -293,7 +293,7 @@ if test "$CONFIG_FEATURE_INDIVIDUAL" = y; then
     echo "Linking individual applets against libbusybox (see $sharedlib_dir/*)"
     gcc -DNAME_MAIN -E -include include/autoconf.h include/applets.h \
     | grep -v "^#" \
-    | grep -v "^$" \
+    | grep -v "^ *$" \
     > applet_lst.tmp
     while read name main junk; do