]> git.sesse.net Git - vlc/commitdiff
ios: Pass the right architecture as --host when building contribs
authorMartin Storsjö <martin@martin.st>
Fri, 7 Feb 2014 08:28:42 +0000 (10:28 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 7 Feb 2014 08:28:44 +0000 (10:28 +0200)
--host is used to indicate where the built binaries are intended
to run, while --build indicates the platform where the configure
script is being run and where it is built.

extras/package/ios/build.sh

index 32536ea8d5d40f04403d7dde1798567cd0509a9f..81b2a17af86e0cc7e2d2b4a54e00136561f5504f 100755 (executable)
@@ -187,7 +187,7 @@ else
     export ASCPP="xcrun as"
 fi
 
-../bootstrap --host=x86_64-apple-darwin11 --build=${TARGET} --prefix=${VLCROOT}/contrib/${TARGET}-${ARCH} --disable-gpl \
+../bootstrap --build=x86_64-apple-darwin11 --host=${TARGET} --prefix=${VLCROOT}/contrib/${TARGET}-${ARCH} --disable-gpl \
     --disable-disc --disable-sout \
     --disable-sdl \
     --disable-SDL_image \