mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
eglibc: (re)add eglibc's iconv implementation, make build with libiconv optional
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
bbb0624df2
commit
7a9cdf4d8a
@ -35,6 +35,10 @@ fi
|
|||||||
# Target system library C (eglibc)
|
# Target system library C (eglibc)
|
||||||
TARGET_LIBC="eglibc"
|
TARGET_LIBC="eglibc"
|
||||||
|
|
||||||
|
# Target iconv implementation (libiconv)
|
||||||
|
# leave empty if we are using glibc's gconv
|
||||||
|
ICONV=""
|
||||||
|
|
||||||
# Library strip
|
# Library strip
|
||||||
LIBSTRIP="yes"
|
LIBSTRIP="yes"
|
||||||
|
|
||||||
|
@ -77,7 +77,7 @@ cat >option-groups.config <<EOF
|
|||||||
OPTION_EGLIBC_CATGETS = y
|
OPTION_EGLIBC_CATGETS = y
|
||||||
|
|
||||||
# libiconv replacement:
|
# libiconv replacement:
|
||||||
OPTION_EGLIBC_CHARSETS = n
|
OPTION_EGLIBC_CHARSETS = y
|
||||||
|
|
||||||
OPTION_EGLIBC_DB_ALIASES = n
|
OPTION_EGLIBC_DB_ALIASES = n
|
||||||
OPTION_EGLIBC_LOCALES = n
|
OPTION_EGLIBC_LOCALES = n
|
||||||
|
@ -49,11 +49,9 @@ mkdir -p $INSTALL/usr/bin
|
|||||||
cp $PKG_BUILD/objdir-$1/locale/locale $INSTALL/usr/bin
|
cp $PKG_BUILD/objdir-$1/locale/locale $INSTALL/usr/bin
|
||||||
|
|
||||||
# libiconv replacement:
|
# libiconv replacement:
|
||||||
# mkdir -p $INSTALL/usr/lib/gconv
|
mkdir -p $INSTALL/usr/lib/gconv
|
||||||
# cp $PKG_BUILD/iconvdata/gconv-modules $INSTALL/usr/lib/gconv
|
cp $PKG_BUILD/iconvdata/gconv-modules $INSTALL/usr/lib/gconv
|
||||||
# didn't yet find a way to separate only needed modules.
|
cp $PKG_BUILD/objdir-$1/iconvdata/*.so $INSTALL/usr/lib/gconv
|
||||||
# the way they are used is described within gconv-modules though
|
|
||||||
# cp $PKG_BUILD/objdir-$1/iconvdata/*.so $INSTALL/usr/lib/gconv
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/etc
|
mkdir -p $INSTALL/etc
|
||||||
cp $PKG_DIR/config/nsswitch.conf $INSTALL/etc
|
cp $PKG_DIR/config/nsswitch.conf $INSTALL/etc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user