Changeset d6164715d6897789de38ddb29ec458f2ce328a74

Show
Ignore:
Timestamp:
04/15/08 22:44:36 (3 months ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1208292276 +0200
git-parent:

[8d90a61eae67bda8db8af731847d09b53dea967b]

git-author:
Pierre d'Herbemont <pdherbemont@videolan.org> 1208292219 +0200
Message:

macosx: Use $suffix in Pre-Compile.sh, and install as requested by funman.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • projects/macosx/framework/Pre-Compile.sh

    ra55cd54 rd616471  
    9393        prefix=".libs/" 
    9494        install_library "${VLC_BUILD_DIR}/src/${prefix}vlc" "${target}" "bin" "@loader_path/lib" 
    95         mv ${target}/vlc ${target}/VLC 
    96         chmod +x ${target}/VLC 
     95        install ${target}/vlc ${target}/VLC 
     96        suffix="dylib" 
    9797    else 
    9898        prefix="" 
     99        suffix="so" 
    99100    fi 
    100101 
     
    103104    echo "Building modules folder..." 
    104105    # Figure out what modules are available to install 
    105     for module in `find ${VLC_BUILD_DIR}/modules -name *.so` ; do 
     106    for module in `find ${VLC_BUILD_DIR}/modules -name *.${suffix}` ; do 
    106107        # Check to see that the reported module actually exists 
    107108        if test -n ${module}; then