aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-04-03 15:38:53 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2016-04-03 15:38:53 +0200
commit056e1f558cc8bc22f221b49bf4571aed59cdae09 (patch)
tree4182879f464df0db6da89430c6e6adbbe50b0003
parent1cf68e303328671f74dfd9f7d24e6c9f91d18969 (diff)
downloadbusybox-056e1f558cc8bc22f221b49bf4571aed59cdae09.tar.gz
trylink: on failure, print a hint about CONFIG_EXTRA_LDLIBS
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rwxr-xr-xscripts/trylink2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/trylink b/scripts/trylink
index 3c431edc3..15435f009 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
}