Browse Source

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

Felix Paul Kühne 16 years ago
parent
commit
086095b235
1 changed files with 6 additions and 0 deletions
  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}"