From c449b82a705df7f1fc7d14a4ec4f3107fe0d056b Mon Sep 17 00:00:00 2001 From: Daniel Stankewitz Date: Wed, 4 Jul 2018 06:51:15 +0200 Subject: [PATCH] Update build_tc.sh --- build_tc.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build_tc.sh b/build_tc.sh index a638264..8408964 100644 --- a/build_tc.sh +++ b/build_tc.sh @@ -17,14 +17,15 @@ fi function compile { cd $SRC/$1 + if [ -f autogen.sh ]; then + ./autogen.sh + fi CC=cl ./configure --prefix=$BUILD $2 make -j $CPU_CORES make install } if [ "$STEP" == "libfdk-aac" ]; then - cd $SRC/fdk-aac - ./autogen.sh compile fdk-aac "--disable-static --disable-shared" elif [ "$STEP" == "lame" ]; then compile lame "--enable-nasm --disable-frontend --disable-shared --enable-static"