Commit ec566c12 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Don't loop infinitely when then is no plugin to install (libtool-only)

parent 8944c1b5
...@@ -275,7 +275,8 @@ if USE_LIBTOOL ...@@ -275,7 +275,8 @@ if USE_LIBTOOL
@if test -z "\$(libvlc_LTLIBRARIES)"; then \ @if test -z "\$(libvlc_LTLIBRARIES)"; then \
z=\$\$(\$(VLC_CONFIG) --list plugin); \ z=\$\$(\$(VLC_CONFIG) --list plugin); \
m=\`for mod in \$(mods); do case "\$\$z " in *\ \$\${mod}\ *) echo -n " lib\$\${mod}_plugin.la" ;; esac; done\` ; \ m=\`for mod in \$(mods); do case "\$\$z " in *\ \$\${mod}\ *) echo -n " lib\$\${mod}_plugin.la" ;; esac; done\` ; \
\$(MAKE) \$(AM_MAKEFLAGS) libvlc_LTLIBRARIES="\$\$m" install ; \ test -z "\$\$m" || \
\$(MAKE) \$(AM_MAKEFLAGS) libvlc_LTLIBRARIES="\$\$m" install ; \
fi fi
else else
mkdir -p -- "\$(DESTDIR)\$(libvlcdir)" mkdir -p -- "\$(DESTDIR)\$(libvlcdir)"
...@@ -315,7 +316,8 @@ if USE_LIBTOOL ...@@ -315,7 +316,8 @@ if USE_LIBTOOL
@if test -z "\$(libvlc_LTLIBRARIES)"; then \ @if test -z "\$(libvlc_LTLIBRARIES)"; then \
z=\$\$(\$(VLC_CONFIG) --list plugin); \ z=\$\$(\$(VLC_CONFIG) --list plugin); \
m=\`for mod in \$(mods); do case "\$\$z " in *\ \$\${mod}\ *) echo -n " lib\$\${mod}_plugin.la" ;; esac; done\` ; \ m=\`for mod in \$(mods); do case "\$\$z " in *\ \$\${mod}\ *) echo -n " lib\$\${mod}_plugin.la" ;; esac; done\` ; \
\$(MAKE) \$(AM_MAKEFLAGS) libvlc_LTLIBRARIES="\$\$m" uninstall ; \ test -z "\$\$m" || \
\$(MAKE) \$(AM_MAKEFLAGS) libvlc_LTLIBRARIES="\$\$m" uninstall ; \
fi fi
else else
@z=\$\$(\$(VLC_CONFIG) --list plugin); \ @z=\$\$(\$(VLC_CONFIG) --list plugin); \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment