Skip to content

Commit

Permalink
gpkg/glibc: fix ldd on x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxython committed Dec 14, 2023
1 parent 611b18b commit 56fcc24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion get-build-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Script that installs build-package.sh to compile glibc packages

git clone -b meson-native https://github.com/termux/termux-packages.git
git clone https://github.com/termux/termux-packages.git

for i in build-package.sh clean.sh packages x11-packages scripts; do
cp -r ./termux-packages/${i} ./
Expand Down
3 changes: 2 additions & 1 deletion gpkg/glibc/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="GNU C Library"
TERMUX_PKG_LICENSE="GPL-3.0, LGPL-3.0"
TERMUX_PKG_MAINTAINER="@termux-pacman"
TERMUX_PKG_VERSION=2.38
TERMUX_PKG_REVISION=10
TERMUX_PKG_REVISION=11
TERMUX_PKG_SRCURL=https://ftp.gnu.org/gnu/libc/glibc-$TERMUX_PKG_VERSION.tar.xz
TERMUX_PKG_SHA256=fb82998998b2b29965467bc1b69d152e9c307d2cf301c9eafb4555b770ef3fd2
TERMUX_PKG_DEPENDS="linux-api-headers-glibc"
Expand All @@ -21,6 +21,7 @@ termux_step_pre_configure() {
done

rm ${TERMUX_PKG_SRCDIR}/sysdeps/unix/sysv/linux/*/clone3.S
rm ${TERMUX_PKG_SRCDIR}/sysdeps/unix/sysv/linux/x86_64/configure*

for i in android_passwd_group.h android_passwd_group.c android_system_user_ids.h; do
cp ${TERMUX_PKG_BUILDER_DIR}/${i} ${TERMUX_PKG_SRCDIR}/nss/
Expand Down

0 comments on commit 56fcc24

Please sign in to comment.