Commit 9274966d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: automatically remove ELF binaries from prebuilt on Win32

(cherry picked from commit 135ec9c4ac6ee3a750eb332397ecedccbe12aec5)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent de0c5426
......@@ -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