Jelajahi Sumber

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

Pierre d'Herbemont 17 tahun lalu
induk
melakukan
6d87896b18
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  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=""