libvpx: fix ignored dependency

This commit is contained in:
MilhouseVH 2019-02-13 15:10:54 +00:00
parent 88420e232b
commit 7ed6710a19

View File

@ -10,6 +10,10 @@ PKG_URL="https://github.com/webmproject/libvpx/archive/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="WebM VP8/VP9 Codec"
if [ "$TARGET_ARCH" = "x86_64" ]; then
PKG_DEPENDS_TARGET+=" nasm:host"
fi
configure_target() {
case $ARCH in
@ -20,7 +24,6 @@ configure_target() {
PKG_TARGET_NAME_LIBVPX="armv7-linux-gcc"
;;
x86_64)
PKG_DEPENDS_TARGET+=" nasm:host"
PKG_TARGET_NAME_LIBVPX="x86_64-linux-gcc"
;;
esac