libtirpc: ensure getrpcby{number,name} are provided
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 6 Nov 2012 07:18:59 +0000 (08:18 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 6 Nov 2012 07:20:16 +0000 (08:20 +0100)
Needed by E.G. xinetd.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/libtirpc/libtirpc.mk

index 02edbe25c6b7471402fa89b268066eec629833de..5b3c728bb97ac43068c9fb06e9825fc17a529a16 100644 (file)
@@ -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