Changeset d6164715d6897789de38ddb29ec458f2ce328a74
- 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
| ra55cd54 |
rd616471 |
|
| 93 | 93 | prefix=".libs/" |
|---|
| 94 | 94 | 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" |
|---|
| 97 | 97 | else |
|---|
| 98 | 98 | prefix="" |
|---|
| | 99 | suffix="so" |
|---|
| 99 | 100 | fi |
|---|
| 100 | 101 | |
|---|
| … | … | |
| 103 | 104 | echo "Building modules folder..." |
|---|
| 104 | 105 | # 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 |
|---|
| 106 | 107 | # Check to see that the reported module actually exists |
|---|
| 107 | 108 | if test -n ${module}; then |
|---|