contrib/oss-fuzz/build.sh: install liblzma-dev:i386 on i386 builds

This commit is contained in:
Even Rouault 2019-11-17 12:58:30 +01:00
parent 4ef21c27c9
commit 6927706c57
No known key found for this signature in database
GPG Key ID: 33EBBFC47B3DD87D

View File

@ -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