]> git.sesse.net Git - vlc/blobdiff - bootstrap
Work-around libtool's work-around which adds .exe on Cygwin
[vlc] / bootstrap
index 7cb2ce94c9ad3be6907ab83be2eac56ac212159f..72acfcd242a6f709a569c972200aaaebc8861834 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -259,6 +259,10 @@ _plugin.a_plugin\$(LIBEXT):
        esac ; \
        echo \$\$ld \$< \$\$ldfl ; \
        \$\$ld \$< \$\$ldfl
+#ifneq (,\$(findstring cygwin,\$(host)))
+#      mv "$@.exe" "$@"
+#endif
+       @if test -f "$@.exe"; then mv "$@.exe" $@; fi
 
 if MAINTAINER_MODE
 \$(srcdir)/Makefile.am: \$(srcdir)/Modules.am \$(top_srcdir)/bootstrap