diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/glibc/glibc-locale.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc-locale.inc b/meta/recipes-core/glibc/glibc-locale.inc index a985d26c75..17f5b781f4 100644 --- a/meta/recipes-core/glibc/glibc-locale.inc +++ b/meta/recipes-core/glibc/glibc-locale.inc | |||
@@ -89,6 +89,9 @@ do_install() { | |||
89 | if [ ${PACKAGE_NO_GCONV} -eq 0 ]; then | 89 | if [ ${PACKAGE_NO_GCONV} -eq 0 ]; then |
90 | copy_locale_files ${libdir}/gconv 0755 | 90 | copy_locale_files ${libdir}/gconv 0755 |
91 | copy_locale_files ${datadir}/i18n 0644 | 91 | copy_locale_files ${datadir}/i18n 0644 |
92 | else | ||
93 | # Remove the libdir if it is empty when gconv is not copied | ||
94 | find ${D}${libdir} -type d -empty -delete | ||
92 | fi | 95 | fi |
93 | copy_locale_files ${datadir}/locale 0644 | 96 | copy_locale_files ${datadir}/locale 0644 |
94 | install -m 0644 ${LOCALETREESRC}/SUPPORTED ${WORKDIR}/SUPPORTED | 97 | install -m 0644 ${LOCALETREESRC}/SUPPORTED ${WORKDIR}/SUPPORTED |