[OE-core] [PATCH 4/6] quota: switch to libtirpc

Marcin Juszkiewicz marcin.juszkiewicz at linaro.org
Wed Mar 20 09:37:21 UTC 2013


Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz at linaro.org>
---
 meta/recipes-extended/quota/quota_4.01.bb | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

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
 }
-- 
1.8.1.2





More information about the Openembedded-core mailing list