]> git.sesse.net Git - vlc/commitdiff
osx/framework: don't include the big macosx module as it is useless for this purpose
authorFelix Paul Kühne <fkuehne@videolan.org>
Wed, 30 Sep 2009 17:25:00 +0000 (19:25 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Wed, 30 Sep 2009 17:25:08 +0000 (19:25 +0200)
projects/macosx/framework/Pre-Compile.sh

index d83cd9530f2bd364869bcfd266d3d6b56b306b6d..922755ce7d5f4a2c6b30437f0c978ff592413626 100644 (file)
@@ -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}"