[git commit] trylink: on failure, print a hint about CONFIG_EXTRA_LDLIBS

Denys Vlasenko vda.linux at googlemail.com
Sun Apr 3 13:38:53 UTC 2016


commit: https://git.busybox.net/busybox/commit/?id=056e1f558cc8bc22f221b49bf4571aed59cdae09
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 scripts/trylink | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/trylink b/scripts/trylink
index 3c431ed..15435f0 100755
--- a/scripts/trylink
+++ b/scripts/trylink
@@ -140,6 +140,8 @@ try $CC $CFLAGS $LDFLAGS \
 || {
     echo "Failed: $l_list"
     cat $EXE.out
+    echo 'Note: if build needs additional libraries, put them in CONFIG_EXTRA_LDLIBS.'
+    echo 'Example: CONFIG_EXTRA_LDLIBS="pthread dl tirpc audit pam"'
     exit 1
 }
 


More information about the busybox-cvs mailing list