Update build_tc.sh

This commit is contained in:
Daniel Stankewitz 2019-07-19 20:08:58 +02:00 committed by GitHub
parent 98b0eccb87
commit 89f7f16202
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,11 @@ if [ "$STEP" == "libmfx" ]; then
if [[ ! -f "configure" ]]; then
autoreconf -fiv || exit 1
fi
compile libmfx ""
if [ "$MODE" == "debug" ]; then
compile libmfx "--enable-debug"
else
compile libmfx ""
fi
sed -i 's/-lstdc++/-ladvapi32/g' $BUILD/lib/pkgconfig/libmfx.pc
elif [ "$STEP" == "opus" ]; then
cd $SRC/opus/win32/VS2015