rpc is not part of glibc 2.27.

Signed-off-by: Joe Slater <[email protected]>
---
 recipes-extended/glusterfs/glusterfs.inc | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/recipes-extended/glusterfs/glusterfs.inc 
b/recipes-extended/glusterfs/glusterfs.inc
index 0556e2a..02c8a6a 100644
--- a/recipes-extended/glusterfs/glusterfs.inc
+++ b/recipes-extended/glusterfs/glusterfs.inc
@@ -29,9 +29,14 @@ LIC_FILES_CHKSUM = 
"file://COPYING-GPLV2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 
 inherit autotools pkgconfig distutils-base update-rc.d systemd
 
-DEPENDS += "bison-native flex-native python-native fuse libaio libxml2 ncurses 
\
+DEPENDS += "bison-native flex-native python-native fuse libaio libtirpc 
libxml2 ncurses \
             openssl python readline zlib liburcu util-linux glib-2.0 acl"
 
+# rpc now comes from libtirpc instead of glibc
+#
+CFLAGS += "-I${STAGING_INCDIR}/tirpc"
+LDFLAGS += " -ltirpc"
+
 EXTRA_OECONF = "ac_cv_file__etc_debian_version=no \
                 ac_cv_file__etc_SuSE_release=no \
                 ac_cv_file__etc_redhat_release=no \
-- 
2.7.4

-- 
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Reply via email to