mirror of https://github.com/google/oss-fuzz.git
[python3-libraries] Fix coverage build (#2653)
This commit is contained in:
parent
8de19ce1ed
commit
0bfed8e12e
|
@ -41,7 +41,7 @@ case $SANITIZER in
|
|||
;;
|
||||
esac
|
||||
|
||||
export CPYTHON_INSTALL_PATH=$OUT/cpython-install
|
||||
export CPYTHON_INSTALL_PATH=$SRC/cpython-install
|
||||
rm -rf $CPYTHON_INSTALL_PATH
|
||||
mkdir $CPYTHON_INSTALL_PATH
|
||||
|
||||
|
@ -56,6 +56,8 @@ sed -i 's/case TARGET\(.*\): {/\0\nfuzzer_record_code_coverage(f->f_code, f->f_l
|
|||
make -j$(nproc)
|
||||
make install
|
||||
|
||||
cp -R $CPYTHON_INSTALL_PATH $OUT/
|
||||
|
||||
cd $SRC/python-library-fuzzers
|
||||
rm $CPYTHON_INSTALL_PATH/lib/python3.9/lib-dynload/_tkinter*.so
|
||||
make
|
||||
|
|
Loading…
Reference in New Issue