summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenys Vlasenko2018-02-13 18:20:28 +0100
committerDenys Vlasenko2018-02-13 18:20:28 +0100
commit4892f3a4c77fb5051d64cfc5f9056a7d6ec6cdb2 (patch)
tree20585496bc3e661bad14808a404dc283b09c40f0 /util-linux
parentedccc982e515e63a080a75fb49fd08b946f62cc6 (diff)
downloadbusybox-4892f3a4c77fb5051d64cfc5f9056a7d6ec6cdb2.zip
busybox-4892f3a4c77fb5051d64cfc5f9056a7d6ec6cdb2.tar.gz
inetd,mount: add comment with example of flags to build with libtirpc
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/mount.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 4eade08..fa2e7b1 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -244,7 +244,11 @@
* uclibc faq entry rather than in busybox... */
# if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__)
# warning "You probably need to build uClibc with UCLIBC_HAS_RPC for NFS support"
- /* not #error, since user may be using e.g. libtirpc instead */
+ /* not #error, since user may be using e.g. libtirpc instead.
+ * This might work:
+ * CONFIG_EXTRA_CFLAGS="-I/usr/include/tirpc"
+ * CONFIG_EXTRA_LDLIBS="tirpc"
+ */
# endif
# include <rpc/rpc.h>
# include <rpc/pmap_prot.h>