diff options
Diffstat (limited to 'meta/recipes-core')
-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 f033635bd0..bf5eaee938 100644 --- a/meta/recipes-core/glibc/glibc-locale.inc +++ b/meta/recipes-core/glibc/glibc-locale.inc | |||
@@ -87,6 +87,9 @@ do_install() { | |||
87 | if [ ${PACKAGE_NO_GCONV} -eq 0 ]; then | 87 | if [ ${PACKAGE_NO_GCONV} -eq 0 ]; then |
88 | copy_locale_files ${libdir}/gconv 0755 | 88 | copy_locale_files ${libdir}/gconv 0755 |
89 | copy_locale_files ${datadir}/i18n 0644 | 89 | copy_locale_files ${datadir}/i18n 0644 |
90 | else | ||
91 | # Remove the libdir if it is empty when gconv is not copied | ||
92 | find ${D}${libdir} -type d -empty -delete | ||
90 | fi | 93 | fi |
91 | copy_locale_files ${datadir}/locale 0644 | 94 | copy_locale_files ${datadir}/locale 0644 |
92 | install -m 0644 ${LOCALETREESRC}/SUPPORTED ${WORKDIR}/SUPPORTED | 95 | install -m 0644 ${LOCALETREESRC}/SUPPORTED ${WORKDIR}/SUPPORTED |