mirror of https://github.com/google/oss-fuzz.git
poppler: Fix build (#5769)
This commit is contained in:
parent
3cc884e673
commit
31f0beb91e
|
@ -30,6 +30,7 @@ ADD http://ftp.gnome.org/pub/gnome/sources/pango/1.48/pango-1.48.0.tar.xz $SRC
|
|||
RUN tar xvJf $SRC/pango-1.48.0.tar.xz
|
||||
ADD https://ftp.gnome.org/pub/gnome/sources/glib/2.64/glib-2.64.2.tar.xz $SRC
|
||||
RUN tar xvJf $SRC/glib-2.64.2.tar.xz
|
||||
RUN wget https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2
|
||||
RUN git clone --depth 1 --single-branch https://gitlab.freedesktop.org/poppler/poppler.git
|
||||
|
||||
RUN git clone --depth 1 https://github.com/mozilla/pdf.js pdf.js && \
|
||||
|
|
|
@ -27,6 +27,14 @@ rm -rf $WORK/*
|
|||
rm -rf $BUILD
|
||||
mkdir -p $BUILD
|
||||
|
||||
# Install Boost headers
|
||||
cd $SRC/
|
||||
tar jxf boost_1_76_0.tar.bz2
|
||||
cd boost_1_76_0/
|
||||
CFLAGS="" CXXFLAGS="" ./bootstrap.sh
|
||||
CFLAGS="" CXXFLAGS="" ./b2 headers
|
||||
cp -R boost/ /usr/include/
|
||||
|
||||
pushd $SRC/zlib
|
||||
CFLAGS=-fPIC ./configure --static --prefix=$PREFIX
|
||||
make install -j$(nproc)
|
||||
|
|
Loading…
Reference in New Issue