]> git.sesse.net Git - vlc/commitdiff
* bootstrap: fixed bashism (#411).
authorSam Hocevar <sam@videolan.org>
Wed, 26 Oct 2005 14:37:49 +0000 (14:37 +0000)
committerSam Hocevar <sam@videolan.org>
Wed, 26 Oct 2005 14:37:49 +0000 (14:37 +0000)
bootstrap

index 13abc952a4c909f8039bb4f20eb180e2d491883a..75574281ea67849bd046716d24ab4dfcd3c73677 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -218,7 +218,7 @@ all-modules:
 
 # Build a plugin with the adequate linker and linker's flags
 _plugin.a_plugin\$(LIBEXT):
-       @mod="\$*" ; mod=\$\${mod:3} ; \
+       @mod="\$*" ; mod=\$\${mod#lib} ; \
        ldfl="\`\$(VLC_CONFIG) --libs plugin \$\$mod\` -u \$(SYMPREF)\$(VLC_ENTRY)" ; \
        case \`\$(VLC_CONFIG) --linkage \$\$mod\` in \\
          c++)  ld="\$(CXXLINK)" ;; \