Update build.sh
This commit is contained in:
parent
4e6af07c40
commit
dfdfbf0bf9
2
build.sh
2
build.sh
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user