]> git.sesse.net Git - vlc/blobdiff - vlc-config.in.in
Fix b7d1154663ccc8f245...
[vlc] / vlc-config.in.in
index 73f97bb648000859255f024caef52eeba7190d9e..63c3f6600589ecb5c168e94693466df0e2754fb8 100644 (file)
@@ -151,8 +151,9 @@ while test $# -gt 0; do
   # Mangle plugin name, if applicable
   # This is just a convenience hack for modules/common.am
   tgt="$1"
+  tgt="${tgt##*/}"
   case "$tgt" in
-    *lib*_plugin_la-*.lo)
+    lib*_plugin_la-*.lo)
       tgt="${tgt#*lib}"
       tgt="${tgt%_plugin_la-*.lo}"
       ;;