aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended
diff options
context:
space:
mode:
authorJoe Slater <joe.slater@windriver.com>2018-05-23 10:50:44 -0700
committerBruce Ashfield <bruce.ashfield@windriver.com>2018-05-24 16:08:35 -0400
commita1050805598d663e1ae0cf562a72109e77ecfc5c (patch)
tree5eba69f7c3dce2db0bc038a727cdbc13d18a7c2b /recipes-extended
parenta16956be01e7f6a4efe52e370cd122f53e054a8c (diff)
downloadmeta-cloud-services-a1050805598d663e1ae0cf562a72109e77ecfc5c.tar.gz
meta-cloud-services-a1050805598d663e1ae0cf562a72109e77ecfc5c.tar.bz2
meta-cloud-services-a1050805598d663e1ae0cf562a72109e77ecfc5c.zip
glusterfs: build with libtirpc
rpc is not part of glibc 2.27. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-extended')
-rw-r--r--recipes-extended/glusterfs/glusterfs.inc7
1 files changed, 6 insertions, 1 deletions
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 \