Skip to content

Commit

Permalink
trylink: on failure, print a hint about CONFIG_EXTRA_LDLIBS
Browse files Browse the repository at this point in the history
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
  • Loading branch information
Denys Vlasenko committed Apr 3, 2016
1 parent 1cf68e3 commit 056e1f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/trylink
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 056e1f5

Please sign in to comment.