浏览代码

MVK: fix build for x86_64

Thomas Guillem 8 年之前
父节点
当前提交
258f1dd279
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      buildMobileVLCKit.sh

+ 6 - 1
buildMobileVLCKit.sh

@@ -346,7 +346,12 @@ buildLibVLC() {
         TVOSOPTIONS=""
     fi
 
-    ../bootstrap --build=x86_64-apple-darwin14 --host=${TARGET} --prefix=${VLCROOT}/contrib/${OSSTYLE}-${TARGET}-${ARCH} --disable-gpl \
+    if [ "${TARGET}" = "x86_64-apple-darwin14" ];then
+        BUILD=""
+    else
+        BUILD="--build=x86_64-apple-darwin14"
+    fi
+    ../bootstrap ${BUILD} --host=${TARGET} --prefix=${VLCROOT}/contrib/${OSSTYLE}-${TARGET}-${ARCH} --disable-gpl \
         --disable-disc --disable-sout \
         --disable-sdl \
         --disable-SDL_image \