Update build_tc.sh
This commit is contained in:
parent
7ac9bf3d5a
commit
5dde9efd53
@ -27,7 +27,7 @@ function compile {
|
|||||||
if [ -f autogen.sh ]; then
|
if [ -f autogen.sh ]; then
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
fi
|
fi
|
||||||
CC=cl CFLAGS=$CFLAGS ./configure --prefix=$BUILD $2
|
CC=cl CXXFLAGS=$CFLAGS ./configure --prefix=$BUILD $2
|
||||||
make -j $CPU_CORES
|
make -j $CPU_CORES
|
||||||
make install
|
make install
|
||||||
}
|
}
|
||||||
@ -37,11 +37,7 @@ if [ "$STEP" == "libmfx" ]; then
|
|||||||
if [[ ! -f "configure" ]]; then
|
if [[ ! -f "configure" ]]; then
|
||||||
autoreconf -fiv || exit 1
|
autoreconf -fiv || exit 1
|
||||||
fi
|
fi
|
||||||
if [ "$MODE" == "debug" ]; then
|
|
||||||
compile libmfx "--enable-debug"
|
|
||||||
else
|
|
||||||
compile libmfx
|
compile libmfx
|
||||||
fi
|
|
||||||
sed -i 's/-lstdc++/-ladvapi32/g' $BUILD/lib/pkgconfig/libmfx.pc
|
sed -i 's/-lstdc++/-ladvapi32/g' $BUILD/lib/pkgconfig/libmfx.pc
|
||||||
elif [ "$STEP" == "opus" ]; then
|
elif [ "$STEP" == "opus" ]; then
|
||||||
cd $SRC/opus/win32/VS2015
|
cd $SRC/opus/win32/VS2015
|
||||||
|
Loading…
x
Reference in New Issue
Block a user