summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/glibc/glibc-package.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-core/glibc/glibc-package.inc b/meta/recipes-core/glibc/glibc-package.inc
index 5f6036840f..36c5350896 100644
--- a/meta/recipes-core/glibc/glibc-package.inc
+++ b/meta/recipes-core/glibc/glibc-package.inc
@@ -82,9 +82,10 @@ do_install_append () {
82 rm -rf ${D}${localstatedir} 82 rm -rf ${D}${localstatedir}
83 83
84 # remove empty glibc dir 84 # remove empty glibc dir
85 if [ -d ${D}${libdir}/glibc -a ! -e ${D}${libdir}/glibc/pt_chown ]; then 85 if [ -d ${D}${libexecdir} ]; then
86 rmdir ${D}${libdir}/glibc 86 rmdir --ignore-fail-on-non-empty ${D}${libexecdir}
87 fi 87 fi
88
88 oe_multilib_header bits/syscall.h 89 oe_multilib_header bits/syscall.h
89 90
90 if [ -f ${D}${bindir}/mtrace ]; then 91 if [ -f ${D}${bindir}/mtrace ]; then