Update build_tc.sh

This commit is contained in:
Daniel Stankewitz 2018-07-04 06:51:15 +02:00 committed by GitHub
parent 02e888764b
commit c449b82a70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,14 +17,15 @@ fi
function compile { function compile {
cd $SRC/$1 cd $SRC/$1
if [ -f autogen.sh ]; then
./autogen.sh
fi
CC=cl ./configure --prefix=$BUILD $2 CC=cl ./configure --prefix=$BUILD $2
make -j $CPU_CORES make -j $CPU_CORES
make install make install
} }
if [ "$STEP" == "libfdk-aac" ]; then if [ "$STEP" == "libfdk-aac" ]; then
cd $SRC/fdk-aac
./autogen.sh
compile fdk-aac "--disable-static --disable-shared" compile fdk-aac "--disable-static --disable-shared"
elif [ "$STEP" == "lame" ]; then elif [ "$STEP" == "lame" ]; then
compile lame "--enable-nasm --disable-frontend --disable-shared --enable-static" compile lame "--enable-nasm --disable-frontend --disable-shared --enable-static"