Update build.sh
This commit is contained in:
parent
2d2ef4d677
commit
c7921e2737
4
build.sh
4
build.sh
@ -61,7 +61,7 @@ function compile_x264 {
|
||||
function compile_fdk-aac {
|
||||
cd $SRC/fdk-aac
|
||||
./autogen.sh
|
||||
compile fdk-aac "--enable-static --enable-shared"
|
||||
compile fdk-aac "--disable-static --enable-shared"
|
||||
}
|
||||
|
||||
function compile_x265 {
|
||||
@ -144,7 +144,7 @@ function compile_ffmpeg {
|
||||
elif [ "$MODE" == "release" ]; then
|
||||
CFLAGS=-MD
|
||||
fi
|
||||
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-gpl --enable-runtime-cpudetect --disable-devices --disable-network --enable-w32threads --enable-libmp3lame --enable-libzimg --enable-avisynth --enable-libx264 --enable-libx265 --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-amf --enable-libmfx --enable-libfdk-aac --enable-nonfree
|
||||
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-gpl --enable-runtime-cpudetect --disable-devices --disable-network --enable-w32threads --enable-libmp3lame --enable-libzimg --enable-avisynth --enable-libx264 --enable-libx265 --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-amf --enable-libmfx --enable-libfdk-aac
|
||||
make -j $CPU_CORES
|
||||
make install
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user