Update build_tc.sh

This commit is contained in:
Daniel Stankewitz 2018-06-29 19:08:29 +02:00 committed by GitHub
parent 43e48084a3
commit 6b8da68a84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,14 +59,14 @@ function compile_x265 {
# Install nv-codec-headers # Install nv-codec-headers
function compile_ffnvcodec { function compile_ffnvcodec {
echo "Copying NVENC headers ..." echo "### Copying NVENC headers ..."
cd $SRC/ffnvcodec cd $SRC/ffnvcodec
make PREFIX=$BUILD install make PREFIX=$BUILD install
} }
# Install amf # Install amf
function compile_amf { function compile_amf {
echo "Copying AMF headers ..." echo "### Copying AMF headers ..."
cp -a $SRC/amf/amf/public/include $BUILD/include/AMF cp -a $SRC/amf/amf/public/include $BUILD/include/AMF
} }
@ -84,7 +84,7 @@ function compile_zimg {
} }
function compile { function compile {
echo "Compiling '$1' ..."; echo "### Compiling '$1' ...";
cd $SRC/$1 cd $SRC/$1
make clean make clean
CC=cl.exe LD=link.exe ./configure --prefix=$BUILD $2 CC=cl.exe LD=link.exe ./configure --prefix=$BUILD $2