From 08b44d367a76c7fd81043670dcc13702bc34e080 Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Thu, 1 Nov 2018 14:02:12 +0100 Subject: [PATCH] binutils: set correct /system/lib dir for 32bit arches --- packages/binutils/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/binutils/build.sh b/packages/binutils/build.sh index 396a69ac8..b7bf1d4e7 100755 --- a/packages/binutils/build.sh +++ b/packages/binutils/build.sh @@ -1,7 +1,7 @@ TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/binutils/ TERMUX_PKG_DESCRIPTION="Collection of binary tools, the main ones being ld, the GNU linker, and as, the GNU assembler" TERMUX_PKG_VERSION=2.31.1 -TERMUX_PKG_REVISION=2 +TERMUX_PKG_REVISION=3 TERMUX_PKG_SHA256=e88f8d36bd0a75d3765a4ad088d819e35f8d7ac6288049780e2fefcad18dde88 TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/binutils/binutils-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-gold --enable-plugins --disable-werror --with-system-zlib --enable-new-dtags" @@ -15,7 +15,7 @@ export LEXLIB= termux_step_pre_configure () { export CPPFLAGS="$CPPFLAGS -Wno-c++11-narrowing" - if [ TERMUX_ARCH_BITS = 32 ]; then + if [ $TERMUX_ARCH_BITS = 32 ]; then export LIB_PATH="${TERMUX_PREFIX}/lib:/system/lib" else export LIB_PATH="${TERMUX_PREFIX}/lib:/system/lib64"