diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-04-03 16:38:53 +0300 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-04-03 16:38:53 +0300 |
commit | 056e1f558cc8bc22f221b49bf4571aed59cdae09 (patch) | |
tree | 4182879f464df0db6da89430c6e6adbbe50b0003 /scripts/trylink | |
parent | 1cf68e303328671f74dfd9f7d24e6c9f91d18969 (diff) |
trylink: on failure, print a hint about CONFIG_EXTRA_LDLIBS
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts/trylink')
-rwxr-xr-x | scripts/trylink | 2 |
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 } |