summaryrefslogtreecommitdiff
path: root/meta/recipes-core
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/eglibc/eglibc-package.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc
index c36d16c0ce..3adf1a9ef9 100644
--- a/meta/recipes-core/eglibc/eglibc-package.inc
+++ b/meta/recipes-core/eglibc/eglibc-package.inc
@@ -75,7 +75,7 @@ do_install_append () {
rm -rf ${D}${localstatedir}
# remove empty eglibc dir
- if [ -d ${D}${libdir}/eglibc ]; then
+ if [ -d ${D}${libdir}/eglibc -a ! -e ${D}${libdir}/eglibc/pt_chown ]; then
rmdir ${D}${libdir}/eglibc
fi
oe_multilib_header bits/syscall.h