From 6927706c57d9e1778aee81f3f341e733b8a98dc1 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Sun, 17 Nov 2019 12:58:30 +0100 Subject: [PATCH] contrib/oss-fuzz/build.sh: install liblzma-dev:i386 on i386 builds --- contrib/oss-fuzz/build.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/contrib/oss-fuzz/build.sh b/contrib/oss-fuzz/build.sh index b65c2c27..b0982d30 100755 --- a/contrib/oss-fuzz/build.sh +++ b/contrib/oss-fuzz/build.sh @@ -45,10 +45,16 @@ if [ "$ARCHITECTURE" = "i386" ]; then else make lib fi + mv "$SRC"/jbigkit/libjbig/*.a "$WORK/lib/" mv "$SRC"/jbigkit/libjbig/*.h "$WORK/include/" popd +if [ "$ARCHITECTURE" = "i386" ]; then + dpkg --add-architecture i386 + apt-get install -y liblzma-dev:i386 +fi + cmake . -DCMAKE_INSTALL_PREFIX=$WORK -DBUILD_SHARED_LIBS=off make -j$(nproc) make install