mirror of https://github.com/google/oss-fuzz.git
lxml: use upstream static dependencies (#9136)
The dependencies coming from base-builder-python might be old, let's use the upstream ones that are downloaded by the setup.py script. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47038
This commit is contained in:
parent
a0c00da018
commit
2663f7157b
|
@ -16,7 +16,7 @@
|
|||
|
||||
FROM gcr.io/oss-fuzz-base/base-builder-python
|
||||
RUN git clone --depth 1 https://github.com/lxml/lxml
|
||||
RUN apt-get install -y libxml2-dev libxslt-dev zlib1g-dev
|
||||
RUN apt-get install -y zlib1g-dev
|
||||
RUN pip3 install Cython
|
||||
|
||||
COPY build.sh $SRC/
|
||||
|
|
|
@ -15,6 +15,11 @@
|
|||
#
|
||||
################################################################################
|
||||
|
||||
export LIBXML2_VERSION=2.10.3
|
||||
export LIBXSLT_VERSION=1.1.37
|
||||
export STATIC_DEPS=true
|
||||
export CFLAGS="$CFLAGS -fPIC"
|
||||
python3 ./setup.py build --with-cython
|
||||
python3 ./setup.py install
|
||||
|
||||
# Build fuzzers in $OUT.
|
||||
|
|
Loading…
Reference in New Issue