trylink: on failure, print a hint about CONFIG_EXTRA_LDLIBS
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
1cf68e3033
commit
056e1f558c
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user