From 6d2cebf8420a60dabe469ed01600d1a260e27e38 Mon Sep 17 00:00:00 2001 From: Daniel Stankewitz Date: Tue, 24 Dec 2019 23:39:29 +0100 Subject: [PATCH] Update build_tc.sh --- build_tc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_tc.sh b/build_tc.sh index eea3543..2097bda 100644 --- a/build_tc.sh +++ b/build_tc.sh @@ -95,14 +95,14 @@ elif [ "$STEP" == "zimg" ]; then ./autogen.sh ./configure --prefix=$BUILD cd _msvc/zimg - MSBuild.exe /maxcpucount:$CPU_CORES /property:Configuration="$MSBUILD_CONFIG" /property:ConfigurationType=StaticLibrary /property:WindowsTargetPlatformVersion=10.0.17134.0 /property:PlatformToolset=v141 /property:Platform=x64 /property:WholeProgramOptimization=false zimg.vcxproj + MSBuild.exe /maxcpucount:$CPU_CORES /property:Configuration="$MSBUILD_CONFIG" /property:ConfigurationType=StaticLibrary /property:WindowsTargetPlatformVersion=10.0.17134.0 /property:PlatformToolset=v141 /property:Platform=x64 /property:WholeProgramOptimization=true zimg.vcxproj cp x64/$MSBUILD_CONFIG/z.lib $BUILD/lib/zimg.lib cd ../.. cp src/zimg/api/zimg.h $BUILD/include/zimg.h cp zimg.pc $BUILD/lib/pkgconfig/zimg.pc elif [ "$STEP" == "x264" ]; then cd $SRC/x264 - CC=cl ./configure --prefix=$BUILD --extra-cflags='-DNO_PREFIX' --disable-cli --enable-static --libdir=$BUILD/lib + CC=cl ./configure --prefix=$BUILD --extra-cflags='-DNO_PREFIX' --disable-cli --enable-static --enable-shared --libdir=$BUILD/lib make -j $CPU_CORES make install-lib-static elif [ "$STEP" == "x265" ]; then