diff --git a/build.sh b/build.sh index 2e5395668..cdfc61150 100755 --- a/build.sh +++ b/build.sh @@ -332,6 +332,8 @@ node --version mkdir $DEPS/jpeg curl -Ls https://github.com/mozilla/mozjpeg/archive/refs/tags/v$VERSION_MOZJPEG.tar.gz | tar xzC $DEPS/jpeg --strip-components=1 cd $DEPS/jpeg + # TODO(kleisauke): Discuss this patch upstream + curl -Ls https://github.com/kleisauke/libjpeg-turbo/commit/a60fb467fc7601b008741d42e98268c8a7bcb5b4.patch | patch -p1 # Compile without SIMD support, see: https://github.com/libjpeg-turbo/libjpeg-turbo/issues/250 # Disable environment variables usage, see: https://github.com/libjpeg-turbo/libjpeg-turbo/issues/600 emcmake cmake -B_build -H. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$TARGET -DENABLE_STATIC=TRUE \