libvpx: Support 64-bit builds
This commit is contained in:
parent
9fac4f0856
commit
dd15f7cf28
@ -6,18 +6,24 @@ TERMUX_PKG_FOLDERNAME=libvpx-${TERMUX_PKG_VERSION}
|
|||||||
|
|
||||||
termux_step_configure () {
|
termux_step_configure () {
|
||||||
if [ $TERMUX_ARCH = "arm" ]; then
|
if [ $TERMUX_ARCH = "arm" ]; then
|
||||||
_CONFIGURE_TARGET=armv7-android-gcc
|
_CONFIGURE_TARGET="--target=armv7-android-gcc"
|
||||||
elif [ $TERMUX_ARCH = "i686" ]; then
|
elif [ $TERMUX_ARCH = "i686" ]; then
|
||||||
export AS=yasm
|
export AS=yasm
|
||||||
export LD=$CC
|
export LD=$CC
|
||||||
_CONFIGURE_TARGET=x86-android-gcc
|
_CONFIGURE_TARGET="--target=x86-android-gcc"
|
||||||
|
elif [ $TERMUX_ARCH = "aarch64" ]; then
|
||||||
|
_CONFIGURE_TARGET="--force-target=arm64-v8a-android-gcc"
|
||||||
|
elif [ $TERMUX_ARCH = "x86_64" ]; then
|
||||||
|
export AS=yasm
|
||||||
|
export LD=$CC
|
||||||
|
_CONFIGURE_TARGET="--target=x86_64-android-gcc"
|
||||||
else
|
else
|
||||||
echo "Unsupported arch: $TERMUX_ARCH"
|
echo "Unsupported arch: $TERMUX_ARCH"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
$TERMUX_PKG_SRCDIR/configure \
|
$TERMUX_PKG_SRCDIR/configure \
|
||||||
--sdk-path=$NDK \
|
--sdk-path=$NDK \
|
||||||
--target=$_CONFIGURE_TARGET \
|
$_CONFIGURE_TARGET \
|
||||||
--prefix=$TERMUX_PREFIX \
|
--prefix=$TERMUX_PREFIX \
|
||||||
--disable-examples \
|
--disable-examples \
|
||||||
--disable-vp8 \
|
--disable-vp8 \
|
||||||
|
Loading…
Reference in New Issue
Block a user