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

Work-around libtool's work-around which adds .exe on Cygwin

parent 72ab62f5
......@@ -84,6 +84,8 @@ axvlc$(LIBEXT): $(libaxvlc_a_OBJECTS) \
-Wl,--enable-stdcall-fixup $(srcdir)/axvlc.def \
$(LIBRARIES_libvlc) -shared $(LIBRARIES_libvlc) $(LDFLAGS_activex) \
$(INCLUDED_LIBINTL)
# Cygwin work-around
@if test -f "$@.exe"; then mv "$@.exe" "$@"; fi
DATA_axvlc_tlb = $(axvlc_tlb_DATA)
......
......@@ -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
......
......@@ -128,6 +128,8 @@ libnpvlc_a_DEPENDENCIES = $(DATA_npvlc_rc)
$(npvlc): $(libnpvlc_a_OBJECTS) $(libnpvlc_a_DEPENDENCIES) stamp-pic
$(CXXLINK) $(libnpvlc_a_OBJECTS) $(DATA_npvlc_rc) \
$(LDFLAGS_libnpvlc)
# Cygwin work-around
@if test -f "$@.exe"; then mv "$@.exe" "$@"; fi
vlcintf_xptdir = $(libdir)/mozilla/components
vlcintf.xpt: vlcintf.idl
......
......@@ -212,6 +212,8 @@ libvlc$(LIBEXT): $(OBJECTS_libvlc_so) stamp-builtins
# on non-PIC OSes, otherwise ld will favor builtins-less libvlc.a over
# libvlc$(LIBEXT)
rm -f libvlc.a
# Cygwin work-around
@if test -f "$@.exe"; then mv "$@.exe" "$@"; fi
endif
EXTRA_DIST += \
......
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