Commit e01c363c authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

iOS: try to build armv7 and armv7s contribs without clashing

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent a5d15eb6
...@@ -186,7 +186,7 @@ else ...@@ -186,7 +186,7 @@ else
export ASCPP="xcrun as" export ASCPP="xcrun as"
fi fi
../bootstrap --host=${TARGET} --build="i686-apple-darwin10" --disable-gpl \ ../bootstrap --host=${TARGET} --build="i686-apple-darwin10" --prefix=${VLCROOT}/contrib/${TARGET}-${ARCH} --disable-gpl \
--disable-disc --disable-sout \ --disable-disc --disable-sout \
--enable-small \ --enable-small \
--disable-sdl \ --disable-sdl \
...@@ -239,12 +239,6 @@ if [ ".$PLATFORM" != ".Simulator" ]; then ...@@ -239,12 +239,6 @@ if [ ".$PLATFORM" != ".Simulator" ]; then
export AVFORMAT_LIBS="-L${PREFIX}/lib -lavcodec -lz -lavutil -lavformat" export AVFORMAT_LIBS="-L${PREFIX}/lib -lavcodec -lz -lavutil -lavformat"
fi fi
export DVBPSI_CFLAGS="-I${VLCROOT}/contrib-ios-${TARGET}/include "
export DVBPSI_LIBS="-L${VLCROOT}/contrib-ios-${TARGET}/lib "
export SWSCALE_CFLAGS="-I${VLCROOT}/contrib-ios-${TARGET}/include "
export SWSCALE_LIBS="-L${VLCROOT}/contrib-ios-${TARGET}/lib "
mkdir -p ${BUILDDIR} mkdir -p ${BUILDDIR}
spushd ${BUILDDIR} spushd ${BUILDDIR}
...@@ -253,10 +247,10 @@ info ">> --prefix=${PREFIX} --host=${TARGET}" ...@@ -253,10 +247,10 @@ info ">> --prefix=${PREFIX} --host=${TARGET}"
# Run configure only upon changes. # Run configure only upon changes.
if [ "${VLCROOT}/configure" -nt config.log -o \ if [ "${VLCROOT}/configure" -nt config.log -o \
"${THIS_SCRIPT_PATH}" -nt config.log ]; then "${THIS_SCRIPT_PATH}" -nt config.log ]; then
CONTRIB_DIR=${VLCROOT}/contrib-ios-${TARGET} \
${VLCROOT}/configure \ ${VLCROOT}/configure \
--prefix="${PREFIX}" \ --prefix="${PREFIX}" \
--host="${TARGET}" \ --host="${TARGET}" \
--with-contrib="${VLCROOT}/contrib/${TARGET}-${ARCH}" \
--disable-debug \ --disable-debug \
--enable-static \ --enable-static \
--disable-macosx \ --disable-macosx \
......
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