Update build.sh
This commit is contained in:
parent
405fa7ef42
commit
d2a2c60bed
4
build.sh
4
build.sh
@ -241,6 +241,9 @@ BUILD=`realpath build`
|
|||||||
SRC=`realpath src`
|
SRC=`realpath src`
|
||||||
|
|
||||||
git clone git://source.ffmpeg.org/ffmpeg.git $SRC/ffmpeg
|
git clone git://source.ffmpeg.org/ffmpeg.git $SRC/ffmpeg
|
||||||
|
cd $SRC/ffmpeg
|
||||||
|
git checkout release/4.2
|
||||||
|
cd ../..
|
||||||
|
|
||||||
build_nvenc
|
build_nvenc
|
||||||
build_amf
|
build_amf
|
||||||
@ -259,7 +262,6 @@ build_x265
|
|||||||
#build_aom
|
#build_aom
|
||||||
|
|
||||||
cd $SRC/ffmpeg
|
cd $SRC/ffmpeg
|
||||||
git checkout release/4.2
|
|
||||||
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
|
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
|
sed -i 's/\x81/ue/g' config.h
|
||||||
make -j $NUMBER_OF_PROCESSORS
|
make -j $NUMBER_OF_PROCESSORS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user