diff options
author | Denys Vlasenko | 2016-04-03 15:38:53 +0200 |
---|---|---|
committer | Denys Vlasenko | 2016-04-03 15:38:53 +0200 |
commit | 056e1f558cc8bc22f221b49bf4571aed59cdae09 (patch) | |
tree | 4182879f464df0db6da89430c6e6adbbe50b0003 | |
parent | 1cf68e303328671f74dfd9f7d24e6c9f91d18969 (diff) | |
download | busybox-056e1f558cc8bc22f221b49bf4571aed59cdae09.zip busybox-056e1f558cc8bc22f221b49bf4571aed59cdae09.tar.gz |
trylink: on failure, print a hint about CONFIG_EXTRA_LDLIBS
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rwxr-xr-x | scripts/trylink | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/trylink b/scripts/trylink index 3c431ed..15435f0 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 } |