Update build.sh

This commit is contained in:
Daniel Stankewitz 2020-08-28 18:35:59 +02:00 committed by GitHub
parent 4e6af07c40
commit dfdfbf0bf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -241,7 +241,6 @@ BUILD=`realpath build`
SRC=`realpath src`
git clone git://source.ffmpeg.org/ffmpeg.git $SRC/ffmpeg
git checkout release/4.3
build_nvenc
build_amf
@ -260,6 +259,7 @@ build_x265
#build_aom
cd $SRC/ffmpeg
git checkout release/4.3
PKG_CONFIG_PATH=$BUILD/lib/pkgconfig:$PKG_CONFIG_PATH ./configure --toolchain=msvc --extra-cflags="$CFLAGS -I$BUILD/include" --extra-ldflags="-LIBPATH:$BUILD/lib" --prefix=$BUILD --pkg-config-flags="--static" --disable-doc --disable-shared --enable-static --enable-runtime-cpudetect --disable-devices --disable-demuxers --disable-decoders --disable-network --enable-w32threads --enable-gpl $COMPONENTS
sed -i 's/\x81/ue/g' config.h
make -j $NUMBER_OF_PROCESSORS