Преглед изворни кода

macosx: Fix VLC-release.app library links.

VideoLAN пре 17 година
родитељ
комит
b5139b51bc
1 измењених фајлова са 3 додато и 1 уклоњено
  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