Changeset c106ef79e1469b9fa9e0cf96a6217152a755e290
- Timestamp:
- 04/21/08 20:36:24
(3 months ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1208802984 +0300
- git-parent:
[0543248decd97a5e0a73ac6ce0e150979933343d]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1208802984 +0300
- Message:
Accept libtool archives and libtool objects as well as plugin names
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r0543248 |
rc106ef7 |
|
| 159 | 159 | esac |
|---|
| 160 | 160 | |
|---|
| 161 | | case "$1" in |
|---|
| | 161 | # Mangle plugin name, if applicable |
|---|
| | 162 | # This is just a convenience hack for modules/common.am |
|---|
| | 163 | tgt="$1" |
|---|
| | 164 | case "$tgt" in |
|---|
| | 165 | lib*_plugin_la-*.lo) |
|---|
| | 166 | tgt="${tgt#lib}" |
|---|
| | 167 | tgt="${tgt%_plugin_la-*.lo}" |
|---|
| | 168 | ;; |
|---|
| | 169 | lib*_plugin.la) |
|---|
| | 170 | tgt="${tgt#lib}" |
|---|
| | 171 | tgt="${tgt%_plugin.la}" |
|---|
| | 172 | ;; |
|---|
| | 173 | *) |
|---|
| | 174 | ;; |
|---|
| | 175 | esac |
|---|
| | 176 | |
|---|
| | 177 | case "$tgt" in |
|---|
| 162 | 178 | --prefix=*) |
|---|
| 163 | 179 | prefix="${optarg}" |
|---|
| … | … | |
| 230 | 246 | ;; |
|---|
| 231 | 247 | *) |
|---|
| 232 | | module="$1" |
|---|
| | 248 | module="$tgt" |
|---|
| 233 | 249 | ;; |
|---|
| 234 | 250 | esac |
|---|
| 235 | 251 | |
|---|
| 236 | 252 | # Register per-module *FLAGS |
|---|
| 237 | | register_flags "$1" |
|---|
| | 253 | register_flags "$tgt" |
|---|
| 238 | 254 | |
|---|
| 239 | 255 | # Register module targets |
|---|
| 240 | | register_targets "$1" |
|---|
| | 256 | register_targets "$tgt" |
|---|
| 241 | 257 | |
|---|
| 242 | 258 | shift |
|---|