Browse Source

macosx: Use mv and chmod instead of install which doesn't work out-of-the-box here.

Pierre d'Herbemont 17 years ago
parent
commit
6d87896b18
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Pre-Compile.sh

+ 2 - 1
Pre-Compile.sh

@@ -92,7 +92,8 @@ if test "${ACTION}" = "build"; then
     if [ "$FULL_PRODUCT_NAME" = "VLC-release.app" ] ; then
         prefix=".libs/"
         install_library "${VLC_BUILD_DIR}/src/${prefix}vlc" "${target}" "bin" "@loader_path/lib"
-        install ${target}/vlc ${target}/VLC
+        mv ${target}/vlc ${target}/VLC
+        chmod +x ${target}/VLC
         suffix="dylib"
     else
         prefix=""