diff options
| -rw-r--r-- | meta/recipes-core/glibc/glibc-locale.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/recipes-core/glibc/glibc-locale.inc b/meta/recipes-core/glibc/glibc-locale.inc index b8de7d3192..7c14abfe99 100644 --- a/meta/recipes-core/glibc/glibc-locale.inc +++ b/meta/recipes-core/glibc/glibc-locale.inc | |||
| @@ -87,10 +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 | ||
| 93 | fi | 90 | fi |
| 91 | # Remove empty dirs in libdir when gconv or locales are not copied | ||
| 92 | find ${D}${libdir} -type d -empty -delete | ||
| 94 | copy_locale_files ${datadir}/locale 0644 | 93 | copy_locale_files ${datadir}/locale 0644 |
| 95 | install -m 0644 ${LOCALETREESRC}/SUPPORTED ${WORKDIR}/SUPPORTED | 94 | install -m 0644 ${LOCALETREESRC}/SUPPORTED ${WORKDIR}/SUPPORTED |
| 96 | } | 95 | } |
