Changeset c106ef79e1469b9fa9e0cf96a6217152a755e290

Show
Ignore:
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
  • vlc-config.in.in

    r0543248 rc106ef7  
    159159  esac 
    160160 
    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 
    162178    --prefix=*) 
    163179      prefix="${optarg}" 
     
    230246      ;; 
    231247    *) 
    232       module="$1
     248      module="$tgt
    233249      ;; 
    234250  esac 
    235251 
    236252  # Register per-module *FLAGS 
    237   register_flags "$1
     253  register_flags "$tgt
    238254 
    239255  # Register module targets 
    240   register_targets "$1
     256  register_targets "$tgt
    241257 
    242258  shift