]> git.sesse.net Git - vlc/blobdiff - bootstrap
modules/misc/lua: Share some code between the modules that uses lua and put them...
[vlc] / bootstrap
index d019670af1fc7030c589624907b6c9b1bb53c145..a19662e631ac38eb08d351180aeca78ea71b4117 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -221,6 +221,7 @@ EXTRA_LTLIBRARIES = ${extra_ltlibs}
 
 include Modules.am
 
+if HAVE_PLUGINS
 LTLIBVLC = -L\$(top_builddir)/src -lvlc
 
 AM_LDFLAGS = -rpath '\$(libvlcdir)' -avoid-version \\
@@ -231,6 +232,7 @@ else
 AM_LDFLAGS += -export-symbol-regex ^\$(VLC_ENTRY)\$\$
 endif
 AM_LIBADD = \$(LTLIBVLC)
+endif
 
 all: all-modules
 
@@ -255,7 +257,6 @@ _plugin.la_plugin\$(LIBEXT):
        esac ; \
        echo \$\$ld \$< \$\$ldfl ; \
        \$\$ld \$< \$\$ldfl
-       @if test -f "\$@.exe"; then mv -f -- "\$@.exe" "\$@"; fi
 
 if MAINTAINER_MODE
 \$(srcdir)/Makefile.am: \$(srcdir)/Modules.am \$(top_srcdir)/bootstrap
@@ -308,7 +309,7 @@ lib${mod}_plugin_la_SOURCES = \$(SOURCES_${mod})
 EOF
     if [ "${NODIST}" != "#" ]; then cat >> "${makf}" << EOF
 nodist_lib${mod}_plugin_la_SOURCES = \$(nodist_SOURCES_${mod})
-CLEANFILES += "\$(nodist_SOURCES_${mod})"
+CLEANFILES += \$(nodist_SOURCES_${mod})
 BUILT_SOURCES += \$(B${mod})
 EOF
     fi