framework: Fix the Pre-Compile script.
authorPierre d'Herbemont <pdherbemont@free.fr>
Mon, 29 Jun 2009 01:19:13 +0000 (18:19 -0700)
committerPierre d'Herbemont <pdherbemont@free.fr>
Mon, 29 Jun 2009 01:20:38 +0000 (18:20 -0700)
This script starts to get unreadable, it's probably time to refresh it.

projects/macosx/framework/Pre-Compile.sh
projects/macosx/framework/VLCKit.xcodeproj/project.pbxproj

index 220dece..17a580c 100644 (file)
@@ -153,10 +153,7 @@ if test "${ACTION}" = "build"; then
         esac
     done
 
-    install_library "${VLC_BUILD_DIR}/src/${prefix}libvlc.2.dylib" "${target_lib}" "library"
-    install_library "${VLC_BUILD_DIR}/src/${prefix}libvlccore.2.dylib" "${target_lib}" "library"
-    ln -sf ${target_lib}/libvlc.2.dylib ${target_lib}/libvlc.dylib
-    ln -sf ${target_lib}/libvlccore.2.dylib ${target_lib}/libvlccore.dylib
+    install_library "${VLC_BUILD_DIR}/src/${prefix}libvlc.dylib" "${target_lib}" "library"
 
     ##########################
     # Build the share folder
index ba54d8a..3f6b018 100644 (file)
                                        "-read_only_relocs",
                                        suppress,
                                        "-lvlc",
-                                       "$(LD_FLAGS_LIBINTL)",
-                                       "$(LD_FLAGS_LIBVLC)",
-                                       "$(LD_FLAGS_LIBVLC_CONTROL)",
                                );
                                PRIVATE_HEADERS_FOLDER_PATH = "$(CONTENTS_FOLDER_PATH)/PrivateHeaders";
                                PRODUCT_NAME = VLCKit;