Commit 135ec9c4 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: automatically remove ELF binaries from prebuilt on Win32

parent d32c3292
......@@ -384,6 +384,12 @@ vlc-contrib-$(HOST)-latest.tar.bz2:
prebuilt: vlc-contrib-$(HOST)-latest.tar.bz2
-$(UNPACK)
ifdef HAVE_WIN32
ifndef HAVE_CROSS_COMPILE
$(RM) `find $(HOST) | file -f- | grep ELF | awk -F: '{print $1}' | xargs`
endif
endif
$(RM) -r $(TOPDST)/$(HOST)
mv $(HOST) $(TOPDST)
cd $(TOPDST)/$(HOST) && $(SRC)/change_prefix.sh
......
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