From f1e4feed13e050de408dd78e32cf5772bd6343d1 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 6 Nov 2012 08:18:59 +0100 Subject: [PATCH] libtirpc: ensure getrpcby{number,name} are provided Needed by E.G. xinetd. Signed-off-by: Peter Korsgaard --- package/libtirpc/libtirpc.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/libtirpc/libtirpc.mk b/package/libtirpc/libtirpc.mk index 02edbe25c6..5b3c728bb9 100644 --- a/package/libtirpc/libtirpc.mk +++ b/package/libtirpc/libtirpc.mk @@ -13,6 +13,9 @@ LIBTIRPC_LICENSE_FILES = COPYING LIBTIRPC_INSTALL_STAGING = YES LIBTIRPC_AUTORECONF = YES +# getrpcby{number,name} are only provided if 'GQ' is defined +LIBTIRPC_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DGQ" + # We need host-pkgconf because the configure.ac contains a # PKG_CHECK_MODULES macro call, and since we're autoreconfiguring this # package, we need the source for this PKG_CHECK_MODULES macro, which -- 2.30.2