Commit 26bc1edd authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Don't re-run configure if it has run already

parent 19024198
......@@ -304,6 +304,7 @@ mkdir -p build-android-${TARGET_TUPLE} && cd build-android-${TARGET_TUPLE}
CROSS_COMPILE=${ANDROID_BIN}/${TARGET_TUPLE}-
if [ ! -e config.h ]; then
CPPFLAGS="$CPPFLAGS" \
CFLAGS="$CFLAGS ${VLC_EXTRA_CFLAGS} ${EXTRA_CFLAGS}" \
CXXFLAGS="$CFLAGS" \
......@@ -395,7 +396,7 @@ config_undef ()
fi
}
# if config dependencies change, ./config.status
# if config dependencies change, ./config.status
# is run and overwrite previously hacked config.h. So call make config.h here
# and hack config.h after.
......@@ -413,6 +414,8 @@ if [ ${ANDROID_API} = "android-21" ] ; then
fi
# END OF ANDROID NDK FIXUP
fi
############
# BUILDING #
############
......@@ -421,3 +424,7 @@ echo "Building"
make $MAKEFLAGS
cd ../..
######################################################################################
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