From b507f0f5a6c3fc7aa40c157c4b598dee526edcdb Mon Sep 17 00:00:00 2001 From: Daniel Stankewitz Date: Fri, 9 Aug 2019 08:32:29 +0200 Subject: [PATCH] Update build_tc.sh --- build_tc.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build_tc.sh b/build_tc.sh index e14fdee..a06eb73 100644 --- a/build_tc.sh +++ b/build_tc.sh @@ -19,7 +19,7 @@ else fi if [ ! -d "$BUILD" ]; then - mkdir $BUILD $BUILD/include $BUILD/lib + mkdir $BUILD $BUILD/include $BUILD/lib $BUILD/lib/pkgconfig fi function compile { @@ -35,8 +35,10 @@ function compile { if [ "$STEP" == "svt-av1" ]; then cd $SRC/svt-av1/Build cmake .. -G"Visual Studio 15 2017" -A x64 -DCMAKE_INSTALL_PREFIX=$BUILD -DCMAKE_CONFIGURATION_TYPES="Debug;Release" - MSBuild.exe /maxcpucount:$CPU_CORES /property:Configuration="$MSBUILD_CONFIG" Source/Lib/Encoder/SvtAv1Enc.vcxproj - # cd $SRC/ffmpeg + MSBuild.exe /maxcpucount:$CPU_CORES /property:Configuration="$MSBUILD_CONFIG" /property:ConfigurationType="StaticLibrary" Source/Lib/Encoder/SvtAv1Enc.vcxproj + cp ../Bin/Release/$MSBUILD_CONFIG/SvtAv1Enc.lib $BUILD/lib/ + cp SvtAv1Enc.pc $BUILD/lib/pkgconfig/ + cd $SRC/ffmpeg # patch -N -p1 -i ../../patches/0001-libsvt-av1.patch elif [ "$STEP" == "libmfx" ]; then cd $SRC/libmfx