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 13, 2023
1 parent 611b18b commit ae7d764
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 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 @@ -28,6 +28,8 @@ termux_step_pre_configure() {
bash ${TERMUX_PKG_BUILDER_DIR}/gen-android-ids.sh ${TERMUX_BASE_DIR} \
${TERMUX_PKG_SRCDIR}/nss/android_ids.h \
${TERMUX_PKG_BUILDER_DIR}/android_system_user_ids.h

sed -i "s|@RTLD@|${PATH_DYNAMIC_LINKER}|g" ${TERMUX_PKG_SRCDIR}/elf/ldd.bash.in
}

termux_step_configure() {
Expand Down
2 changes: 2 additions & 0 deletions gpkg/gobject-introspection/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
"

termux_step_pre_configure() {
cat $TERMUX_PREFIX/bin/ldd
exit 1
CPPFLAGS+="-I$TERMUX_PREFIX/include/python${TERMUX_PYTHON_VERSION} -I$TERMUX_PREFIX/include/python${TERMUX_PYTHON_VERSION}/cpython"
}

0 comments on commit ae7d764

Please sign in to comment.