From: Denys Vlasenko Date: Tue, 13 Feb 2018 17:20:28 +0000 (+0100) Subject: inetd,mount: add comment with example of flags to build with libtirpc X-Git-Tag: 1_29_0~238 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4892f3a4c77fb5051d64cfc5f9056a7d6ec6cdb2;p=oweals%2Fbusybox.git inetd,mount: add comment with example of flags to build with libtirpc Signed-off-by: Denys Vlasenko --- 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 @@ #if ENABLE_FEATURE_INETD_RPC # 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 # include diff --git a/util-linux/mount.c b/util-linux/mount.c index 4eade0869..fa2e7b114 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 # include