소스 검색

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

Pierre d'Herbemont 17 년 전
부모
커밋
6d87896b18
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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
     if [ "$FULL_PRODUCT_NAME" = "VLC-release.app" ] ; then
         prefix=".libs/"
         prefix=".libs/"
         install_library "${VLC_BUILD_DIR}/src/${prefix}vlc" "${target}" "bin" "@loader_path/lib"
         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"
         suffix="dylib"
     else
     else
         prefix=""
         prefix=""