Skip to content

Commit 810494c

Browse files
kleisaukeDDoS
authored andcommitted
Make pkg-config file of MozJPEG relocatable (kleisauke#79)
1 parent e0c3cc9 commit 810494c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.sh

+2
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,8 @@ node --version
332332
mkdir $DEPS/jpeg
333333
curl -Ls https://github.com/mozilla/mozjpeg/archive/refs/tags/v$VERSION_MOZJPEG.tar.gz | tar xzC $DEPS/jpeg --strip-components=1
334334
cd $DEPS/jpeg
335+
# TODO(kleisauke): Discuss this patch upstream
336+
curl -Ls https://github.com/kleisauke/libjpeg-turbo/commit/a60fb467fc7601b008741d42e98268c8a7bcb5b4.patch | patch -p1
335337
# Compile without SIMD support, see: https://github.com/libjpeg-turbo/libjpeg-turbo/issues/250
336338
# Disable environment variables usage, see: https://github.com/libjpeg-turbo/libjpeg-turbo/issues/600
337339
emcmake cmake -B_build -H. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$TARGET -DENABLE_STATIC=TRUE \

0 commit comments

Comments
 (0)