Commit 71c633a8 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Be more relaxed and change all library paths when necessary.

parent 26748792
...@@ -81,11 +81,11 @@ if test "${ACTION}" = "build"; then ...@@ -81,11 +81,11 @@ if test "${ACTION}" = "build"; then
local name=`basename ${linked_lib}` local name=`basename ${linked_lib}`
case "${linked_lib}" in case "${linked_lib}" in
*/vlc_build_dir/* | */vlc_install_dir/* | *vlc* | */extras/contrib/lib/*) */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}" install_name_tool -change "$linked_lib" "${lib_install_prefix}/${name}" "${lib_dest}"
linked_libs="${linked_libs} ${ref_lib}" linked_libs="${linked_libs} ${ref_lib}"
install_library ${linked_lib} ${target_lib} "library" install_library ${linked_lib} ${target_lib} "library"
fi # fi
;; ;;
esac esac
done done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment