Browse Source

glibc: fixed to only install locales when building the default ABI and to create a symlink for the other selected ABIs

tc-work-wip
Christian Wiese 13 years ago
committed by Alejandro Mery
parent
commit
8a5f213446
1 changed files with 8 additions and 4 deletions
  1. +8
    -4
      base/glibc/glibc.conf

+ 8
- 4
base/glibc/glibc.conf

@ -222,10 +222,14 @@ pkg_glibc_postmake()
#
if atstage native; then
# install locales
#
eval $MAKE localedata/install-locales
cp ../localedata/SUPPORTED $root/usr/share/i18n/
# install locales when building the default ABI or create
# a symlink for the other selected ABIs
if [ "$abi" == "$SDECFG_ABI_DEFAULT" ]; then
eval $MAKE localedata/install-locales
cp ../localedata/SUPPORTED $root/usr/share/i18n/
else
ln -sf ../lib/locale $root$libdir/locale
fi
if [ "$SDECFG_PKG_GLIBC_TLS" != 1 ]; then
# install linuxthread manpages

Loading…
Cancel
Save