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 () {
|
||||
if [ $TERMUX_ARCH = "arm" ]; then
|
||||
_CONFIGURE_TARGET=armv7-android-gcc
|
||||
_CONFIGURE_TARGET="--target=armv7-android-gcc"
|
||||
elif [ $TERMUX_ARCH = "i686" ]; then
|
||||
export AS=yasm
|
||||
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
|
||||
echo "Unsupported arch: $TERMUX_ARCH"
|
||||
exit 1
|
||||
fi
|
||||
$TERMUX_PKG_SRCDIR/configure \
|
||||
--sdk-path=$NDK \
|
||||
--target=$_CONFIGURE_TARGET \
|
||||
$_CONFIGURE_TARGET \
|
||||
--prefix=$TERMUX_PREFIX \
|
||||
--disable-examples \
|
||||
--disable-vp8 \
|
||||
|
Loading…
Reference in New Issue
Block a user