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