summaryrefslogtreecommitdiffstats
path: root/package/libtirpc
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-11-06 08:18:59 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-11-06 08:20:16 +0100
commitf1e4feed13e050de408dd78e32cf5772bd6343d1 (patch)
treefa2a0ca9211a06bae8dee82c77d218e4828aedb6 /package/libtirpc
parent6dc861f2a2b413a50630ee762a81830df670f227 (diff)
downloadbuildroot-novena-f1e4feed13e050de408dd78e32cf5772bd6343d1.tar.gz
buildroot-novena-f1e4feed13e050de408dd78e32cf5772bd6343d1.zip
libtirpc: ensure getrpcby{number,name} are provided
Needed by E.G. xinetd. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libtirpc')
-rw-r--r--package/libtirpc/libtirpc.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/libtirpc/libtirpc.mk b/package/libtirpc/libtirpc.mk
index 02edbe25c..5b3c728bb 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