Patchwork [4/6] quota: switch to libtirpc

login
register
mail settings
Submitter Marcin Juszkiewicz
Date March 20, 2013, 9:37 a.m.
Message ID <1363772243-370-5-git-send-email-marcin.juszkiewicz@linaro.org>
Download mbox | patch
Permalink /patch/46551/
State New
Headers show

Comments

Marcin Juszkiewicz - March 20, 2013, 9:37 a.m.
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
 meta/recipes-extended/quota/quota_4.01.bb | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-extended/quota/quota_4.01.bb b/meta/recipes-extended/quota/quota_4.01.bb
index 80159a9..e171160 100644
--- a/meta/recipes-extended/quota/quota_4.01.bb
+++ b/meta/recipes-extended/quota/quota_4.01.bb
@@ -15,12 +15,17 @@  SRC_URI[sha256sum] = "a36300bbc126b79b745bf937245092808b4585aa3309ef3335d4ab9d87
 
 S = "${WORKDIR}/quota-tools"
 
-DEPENDS = "gettext-native e2fsprogs"
+DEPENDS = "gettext-native e2fsprogs libtirpc"
 
 inherit autotools gettext
 
 EXTRA_OEMAKE += 'STRIP=""'
 
+do_configure_prepend() {
+    export CFLAGS="${CFLAGS} -I${STAGING_INCDIR}/tirpc"
+    export LDFLAGS="-ltirpc ${LDFLAGS} "
+}
+
 do_install() {
 	oe_runmake prefix=${D}${prefix} install
 }