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