libjpeg-turbo: add nasm dependency

This commit is contained in:
MilhouseVH 2018-12-25 12:15:17 +00:00 committed by awiouy
parent d167df7064
commit f23319a748

View File

@ -1,5 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libjpeg-turbo"
PKG_VERSION="1.5.3"
@ -24,6 +25,11 @@ if ! target_has_feature "(neon|sse)"; then
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --without-simd"
fi
if [ $TARGET_ARCH = "x86_64" ]; then
PKG_DEPENDS_HOST+=" nasm:host"
PKG_DEPENDS_TARGET+=" nasm:host"
fi
post_makeinstall_target() {
rm -rf $INSTALL/usr/bin
}