From 0bfed8e12e7cb39164b84ce8fb4b5599d4269cba Mon Sep 17 00:00:00 2001 From: Guido Vranken Date: Sat, 3 Aug 2019 15:50:50 +0200 Subject: [PATCH] [python3-libraries] Fix coverage build (#2653) --- projects/python3-libraries/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/python3-libraries/build.sh b/projects/python3-libraries/build.sh index c3cf7f195..d6f9dfd53 100755 --- a/projects/python3-libraries/build.sh +++ b/projects/python3-libraries/build.sh @@ -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