소스 검색

compile: update buildscript to new VLC buildsystem

Alexandre Janniaux 5 년 전
부모
커밋
fd9b34630e
1개의 변경된 파일8개의 추가작업 그리고 2개의 파일을 삭제
  1. 8 2
      compileAndBuildVLCKit.sh

+ 8 - 2
compileAndBuildVLCKit.sh

@@ -160,7 +160,12 @@ buildLibVLC() {
     mkdir -p ${BUILDDIR}
     mkdir -p ${BUILDDIR}
     spushd ${BUILDDIR}
     spushd ${BUILDDIR}
 
 
-    ../extras/package/apple/build.sh --arch=$ARCH --sdk=${PLATFORM}${SDK_VERSION} ${DEBUGFLAG} ${VERBOSEFLAG} ${BITCODEFLAG}
+    ../extras/package/apple/build.sh \
+        --arch=$ARCH \
+        --sdk=${PLATFORM}${SDK_VERSION} \
+        --build-libvlc=dynamic \
+        --build-modules=static \
+        ${DEBUGFLAG} ${VERBOSEFLAG} ${BITCODEFLAG}
 
 
     spopd # builddir
     spopd # builddir
 
 
@@ -441,7 +446,8 @@ if [ "$MACOS" = "yes" ]; then
     build_universal_static_lib "MacOSX"
     build_universal_static_lib "MacOSX"
 fi
 fi
 if [ "$IOS" = "yes" ]; then
 if [ "$IOS" = "yes" ]; then
-    build_universal_static_lib "iphone"
+    echo Not building universal static libs
+    #build_universal_static_lib "iphone"
 fi
 fi
 
 
 info "all done"
 info "all done"