diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-02-13 18:20:28 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-02-13 18:20:28 +0100 |
commit | 4892f3a4c77fb5051d64cfc5f9056a7d6ec6cdb2 (patch) | |
tree | 20585496bc3e661bad14808a404dc283b09c40f0 /networking | |
parent | edccc982e515e63a080a75fb49fd08b946f62cc6 (diff) | |
download | busybox-w32-4892f3a4c77fb5051d64cfc5f9056a7d6ec6cdb2.tar.gz busybox-w32-4892f3a4c77fb5051d64cfc5f9056a7d6ec6cdb2.tar.bz2 busybox-w32-4892f3a4c77fb5051d64cfc5f9056a7d6ec6cdb2.zip |
inetd,mount: add comment with example of flags to build with libtirpc
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/inetd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/networking/inetd.c b/networking/inetd.c index 6843845fb..ca1a97268 100644 --- a/networking/inetd.c +++ b/networking/inetd.c | |||
@@ -246,7 +246,11 @@ | |||
246 | #if ENABLE_FEATURE_INETD_RPC | 246 | #if ENABLE_FEATURE_INETD_RPC |
247 | # if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__) | 247 | # if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__) |
248 | # warning "You probably need to build uClibc with UCLIBC_HAS_RPC for NFS support" | 248 | # warning "You probably need to build uClibc with UCLIBC_HAS_RPC for NFS support" |
249 | /* not #error, since user may be using e.g. libtirpc instead */ | 249 | /* not #error, since user may be using e.g. libtirpc instead. |
250 | * This might work: | ||
251 | * CONFIG_EXTRA_CFLAGS="-I/usr/include/tirpc" | ||
252 | * CONFIG_EXTRA_LDLIBS="tirpc" | ||
253 | */ | ||
250 | # endif | 254 | # endif |
251 | # include <rpc/rpc.h> | 255 | # include <rpc/rpc.h> |
252 | # include <rpc/pmap_clnt.h> | 256 | # include <rpc/pmap_clnt.h> |