Browse Source

macosx: Fix VLC-release.app library links.

VideoLAN 17 years ago
parent
commit
b5139b51bc
1 changed files with 3 additions and 1 deletions
  1. 3 1
      Pre-Compile.sh

+ 3 - 1
Pre-Compile.sh

@@ -90,8 +90,10 @@ if test "${ACTION}" = "build"; then
     ##########################
     # Hack for VLC-release.app
     if [ "$FULL_PRODUCT_NAME" = "VLC-release.app" ] ; then
-        install_library "${VLC_BUILD_DIR}/${prefix}vlc" "${target}" "bin" "@loader_path/lib"
         prefix=".libs/"
+        install_library "${VLC_BUILD_DIR}/src/${prefix}vlc" "${target}" "bin" "@loader_path/lib"
+        mv ${target}/vlc ${target}/VLC
+        chmod +x ${target}/VLC
     else
         prefix=""
     fi