trylink: on failure, print a hint about CONFIG_EXTRA_LDLIBS

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2016-04-03 15:38:53 +02:00
parent 1cf68e3033
commit 056e1f558c

View File

@ -140,6 +140,8 @@ try $CC $CFLAGS $LDFLAGS \
|| { || {
echo "Failed: $l_list" echo "Failed: $l_list"
cat $EXE.out 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 exit 1
} }