summaryrefslogtreecommitdiff
path: root/user/libjpeg-turbo/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-10 06:17:15 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-10 06:22:13 +0000
commit23a2a402d0aded516cd1a5adb0cc0fd52f30bd0c (patch)
tree434e01394be7887602575fa3260b141d8c5dbcb8 /user/libjpeg-turbo/APKBUILD
parentbe484b3420e396f8b59e216fdbcb02cf50abc642 (diff)
downloadpackages-23a2a402d0aded516cd1a5adb0cc0fd52f30bd0c.tar.gz
packages-23a2a402d0aded516cd1a5adb0cc0fd52f30bd0c.tar.bz2
packages-23a2a402d0aded516cd1a5adb0cc0fd52f30bd0c.tar.xz
packages-23a2a402d0aded516cd1a5adb0cc0fd52f30bd0c.zip
user/libjpeg-turbo: restore JPEG8 compatibility
Diffstat (limited to 'user/libjpeg-turbo/APKBUILD')
-rw-r--r--user/libjpeg-turbo/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/user/libjpeg-turbo/APKBUILD b/user/libjpeg-turbo/APKBUILD
index 36cbbbf7c..e35ca14b9 100644
--- a/user/libjpeg-turbo/APKBUILD
+++ b/user/libjpeg-turbo/APKBUILD
@@ -22,10 +22,12 @@ build() {
fi
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_INSTALL_DEFAULT_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_C_FLAGS="$CFLAGS" \
+ -DENABLE_STATIC=OFF \
+ -DWITH_JPEG8=ON \
${CMAKE_CROSSOPTS}
make
}