Update build.sh

This commit is contained in:
Daniel Stankewitz 2018-06-17 23:13:13 +02:00 committed by GitHub
parent 2d2ef4d677
commit c7921e2737
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ function compile_x264 {
function compile_fdk-aac { function compile_fdk-aac {
cd $SRC/fdk-aac cd $SRC/fdk-aac
./autogen.sh ./autogen.sh
compile fdk-aac "--enable-static --enable-shared" compile fdk-aac "--disable-static --enable-shared"
} }
function compile_x265 { function compile_x265 {
@ -144,7 +144,7 @@ function compile_ffmpeg {
elif [ "$MODE" == "release" ]; then elif [ "$MODE" == "release" ]; then
CFLAGS=-MD CFLAGS=-MD
fi 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 -j $CPU_CORES
make install make install
} }