diff options
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-package.inc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc index faf68f70b3..9e71150ca2 100644 --- a/meta/recipes-core/eglibc/eglibc-package.inc +++ b/meta/recipes-core/eglibc/eglibc-package.inc | |||
@@ -98,8 +98,12 @@ do_install_locale () { | |||
98 | if [ "${base_libdir}" != "${libdir}" ]; then | 98 | if [ "${base_libdir}" != "${libdir}" ]; then |
99 | cp -fpPR ${D}${base_libdir}/* ${dest}${base_libdir} | 99 | cp -fpPR ${D}${base_libdir}/* ${dest}${base_libdir} |
100 | fi | 100 | fi |
101 | mv ${D}${bindir}/localedef ${dest}${bindir} | 101 | if [ -f ${D}${bindir}/localedef ]; then |
102 | mv ${D}${libdir}/gconv ${dest}${libdir} | 102 | mv -f ${D}${bindir}/localedef ${dest}${bindir} |
103 | fi | ||
104 | if [ -f ${D}${libdir}/gconv ]; then | ||
105 | mv -f ${D}${libdir}/gconv ${dest}${libdir} | ||
106 | fi | ||
103 | cp -fpPR ${D}${libdir}/* ${dest}${libdir} | 107 | cp -fpPR ${D}${libdir}/* ${dest}${libdir} |
104 | mv ${D}${datadir}/i18n ${dest}${datadir} | 108 | mv ${D}${datadir}/i18n ${dest}${datadir} |
105 | cp -fpPR ${D}${datadir}/* ${dest}${datadir} | 109 | cp -fpPR ${D}${datadir}/* ${dest}${datadir} |