summaryrefslogtreecommitdiff
path: root/meta/recipes-core/eglibc/eglibc-package.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-package.inc')
-rw-r--r--meta/recipes-core/eglibc/eglibc-package.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc
index f144273c19..c36d16c0ce 100644
--- a/meta/recipes-core/eglibc/eglibc-package.inc
+++ b/meta/recipes-core/eglibc/eglibc-package.inc
@@ -74,6 +74,10 @@ do_install_append () {
rm -f ${D}${sysconfdir}/localtime
rm -rf ${D}${localstatedir}
+ # remove empty eglibc dir
+ if [ -d ${D}${libdir}/eglibc ]; then
+ rmdir ${D}${libdir}/eglibc
+ fi
oe_multilib_header bits/syscall.h
if [ -f ${D}${bindir}/mtrace ]; then