[OE-core] [PATCH 6/6] sudo: fix libdir/libexecdir confusion
Ross Burton
ross.burton at intel.com
Tue Jun 23 14:30:07 UTC 2015
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-extended/sudo/sudo.inc | 3 +++
meta/recipes-extended/sudo/sudo_1.8.13.bb | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc
index cdee6bb..0da30e2 100644
--- a/meta/recipes-extended/sudo/sudo.inc
+++ b/meta/recipes-extended/sudo/sudo.inc
@@ -37,3 +37,6 @@ do_compile_prepend () {
do_install_prepend (){
mkdir -p ${D}/${localstatedir}/lib
}
+
+# Sudo insists on putting libraries into libexecdir
+INSANE_SKIP = "libdir"
diff --git a/meta/recipes-extended/sudo/sudo_1.8.13.bb b/meta/recipes-extended/sudo/sudo_1.8.13.bb
index 4494170..b68863d 100644
--- a/meta/recipes-extended/sudo/sudo_1.8.13.bb
+++ b/meta/recipes-extended/sudo/sudo_1.8.13.bb
@@ -26,4 +26,4 @@ do_install_append () {
rmdir -p --ignore-fail-on-non-empty ${D}${localstatedir}/run/sudo
}
-FILES_${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/*.la"
+FILES_${PN}-dev += "${libexecdir}/${BPN}/lib*${SOLIBSDEV} ${libexecdir}/${BPN}/*.la"
--
2.1.4
More information about the Openembedded-core
mailing list