Be more relaxed and change all library paths when necessary.
[vlc.git] / projects / macosx / framework / Pre-Compile.sh
index c25c321..220dece 100644 (file)
@@ -81,11 +81,11 @@ if test "${ACTION}" = "build"; then
                 local name=`basename ${linked_lib}`
                 case "${linked_lib}" in
                     */vlc_build_dir/* | */vlc_install_dir/* | *vlc* | */extras/contrib/lib/*)
-                        if test -e ${linked_lib}; then
+#                        if test -e ${linked_lib}; then
                             install_name_tool -change "$linked_lib" "${lib_install_prefix}/${name}" "${lib_dest}"
                             linked_libs="${linked_libs} ${ref_lib}"
                             install_library ${linked_lib} ${target_lib} "library"
-                        fi
+#                        fi
                         ;;
                 esac
             done