浏览代码

osx/framework: don't include the big macosx module as it is useless for this purpose

Felix Paul Kühne 16 年之前
父节点
当前提交
086095b235
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      Pre-Compile.sh

+ 6 - 0
Pre-Compile.sh

@@ -140,6 +140,12 @@ if test "${ACTION}" = "build"; then
         popd > /dev/null
     fi
 
+    # remove stuff we don't need
+    if [ "$FULL_PRODUCT_NAME" = "VLCKit.framework" ] ; then
+        echo "Removing module libmacosx_plugin.dylib"
+        rm ${target_modules}/libmacosx_plugin.dylib
+    fi
+
     ##########################
     # Build the library folder
     echo "Building library folder... ${linked_libs}"