From c7921e2737dcc71383b156a29b89768196a1e6f0 Mon Sep 17 00:00:00 2001 From: Daniel Stankewitz Date: Sun, 17 Jun 2018 23:13:13 +0200 Subject: [PATCH] Update build.sh --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index f522c8c..0f254b0 100644 --- a/build.sh +++ b/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 }