Update build_tc.sh

This commit is contained in:
Daniel Stankewitz 2019-08-15 20:22:04 +02:00 committed by GitHub
parent b7fd6e5a56
commit 7f98c46ad5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,8 @@ if [ "$STEP" == "svt" ]; then
cp -r ../Source/API $BUILD/include/svt-vp9 ; cp ../Bin/$MSBUILD_CONFIG/SvtVp9Enc.lib $BUILD/lib/ ; cp SvtVp9Enc.pc $BUILD/lib/pkgconfig/
#
# PATCHES
sed -i 's/-lpthread //g' $BUILD/lib/pkgconfig/SvtVp9Enc.pc
sed -i 's/ -lpthread//g' $BUILD/lib/pkgconfig/SvtVp9Enc.pc
sed -i 's/ -lm//g' $BUILD/lib/pkgconfig/SvtVp9Enc.pc
cd $SRC/ffmpeg
git apply ../svt-hevc/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch
git apply ../svt-av1/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch