summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/libjpeg-turbo/APKBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/user/libjpeg-turbo/APKBUILD b/user/libjpeg-turbo/APKBUILD
index 27c13e889..12d5af767 100644
--- a/user/libjpeg-turbo/APKBUILD
+++ b/user/libjpeg-turbo/APKBUILD
@@ -13,6 +13,10 @@ replaces="libjpeg"
subpackages="$pkgname-doc $pkgname-dev $pkgname-utils"
source="https://downloads.sourceforge.net/libjpeg-turbo/libjpeg-turbo-$pkgver.tar.gz"
+case "$CTARGET_ARCH" in
+pmmx | x86 | x86_64) makedepends="$makedepends nasm" ;;
+esac
+
build() {
cd "$builddir"
./configure \