[vlc-commits] iOS: try to build armv7 and armv7s contribs without clashing

Jean-Baptiste Kempf git at videolan.org
Sat May 18 19:31:44 CEST 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat May 18 19:28:17 2013 +0200| [e01c363cf6ae843b4b78fa0eee286fc73155dc32] | committer: Jean-Baptiste Kempf

iOS: try to build armv7 and armv7s contribs without clashing

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e01c363cf6ae843b4b78fa0eee286fc73155dc32
---

 extras/package/ios/build.sh |   10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/extras/package/ios/build.sh b/extras/package/ios/build.sh
index 6d1b9c3..6d1e2ce 100755
--- a/extras/package/ios/build.sh
+++ b/extras/package/ios/build.sh
@@ -186,7 +186,7 @@ else
   export ASCPP="xcrun as"
 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 \
     --enable-small \
     --disable-sdl \
@@ -239,12 +239,6 @@ if [ ".$PLATFORM" != ".Simulator" ]; then
     export AVFORMAT_LIBS="-L${PREFIX}/lib -lavcodec -lz -lavutil -lavformat"
 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}
 spushd ${BUILDDIR}
 
@@ -253,10 +247,10 @@ info ">> --prefix=${PREFIX} --host=${TARGET}"
 # Run configure only upon changes.
 if [ "${VLCROOT}/configure" -nt config.log -o \
      "${THIS_SCRIPT_PATH}" -nt config.log ]; then
-CONTRIB_DIR=${VLCROOT}/contrib-ios-${TARGET} \
 ${VLCROOT}/configure \
     --prefix="${PREFIX}" \
     --host="${TARGET}" \
+    --with-contrib="${VLCROOT}/contrib/${TARGET}-${ARCH}" \
     --disable-debug \
     --enable-static \
     --disable-macosx \



More information about the vlc-commits mailing list