Commit cd092b1c authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

compile-libvlc: Build medialibrary in release mode when appropriate

parent 19cc8771
......@@ -840,11 +840,15 @@ if [ ! -d "build-android-$ANDROID_ABI/" ]; then
fi;
cd "build-android-$ANDROID_ABI/";
if [ "$RELEASE" = 1 ]; then
MEDIALIBRARY_MODE=--enable-release
fi
if [ ! -e ./config.h -o "$RELEASE" = 1 ]; then
../bootstrap
../configure \
--host=$TARGET_TUPLE \
--disable-shared \
${MEDIALIBRARY_MODE} \
CFLAGS="${VLC_CFLAGS} ${EXTRA_CFLAGS}" \
CXXFLAGS="${VLC_CXXFLAGS} ${EXTRA_CFLAGS} ${EXTRA_CXXFLAGS}" \
CC="clang" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment