Skip to content
Snippets Groups Projects
Commit cd092b1c authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

compile-libvlc: Build medialibrary in release mode when appropriate

parent 19cc8771
No related branches found
No related tags found
No related merge requests found
......@@ -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" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment