ncurses: work around ownership problem

Due to a previous workaround, the external gcc/g++ is run outside of pseudo
context. The ncurses install target re-links the libraries directly into ${D},
so we need to make sure the ownership on those files is correct.

JIRA: SB-4185

Signed-off-by: Christopher Larson <kergoth@gmail.com>
This commit is contained in:
Christopher Larson
2015-04-24 16:09:10 -07:00
parent 03b400b3c4
commit 51c7d12402

View File

@@ -0,0 +1,6 @@
# Work around the fact that gcc/g++ is not run under pseudo at the moment to
# bypass a different bug. Ncurses links the libs directly into place in the
# destination, so we need to correct the ownership here.
do_install_append () {
chown root:root ${D}${base_libdir}/lib*.so.* ${D}${libdir}/lib*.so.*
}