Update build_tc.sh
This commit is contained in:
parent
02e888764b
commit
c449b82a70
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user