Honor libvlc/libvlccorelibrary versions
authorJean-Paul Saman <jpsaman@videolan.org>
Sun, 19 Apr 2009 20:27:38 +0000 (22:27 +0200)
committerJean-Paul Saman <jpsaman@videolan.org>
Tue, 5 May 2009 09:41:41 +0000 (11:41 +0200)
projects/macosx/framework/Pre-Compile.sh

index 3a4b485..c25c321 100644 (file)
@@ -153,8 +153,10 @@ if test "${ACTION}" = "build"; then
         esac
     done
 
-    install_library "${VLC_BUILD_DIR}/src/${prefix}libvlc.dylib" ${target_lib} "library"
-    install_library "${VLC_BUILD_DIR}/src/${prefix}libvlccore.dylib" ${target_lib} "library"
+    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
 
     ##########################
     # Build the share folder