[vlc-commits] Contribs: automatically remove ELF binaries from prebuilt on Win32

Jean-Baptiste Kempf git at videolan.org
Fri Feb 20 15:18:54 CET 2015


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Feb 20 15:18:01 2015 +0100| [135ec9c4ac6ee3a750eb332397ecedccbe12aec5] | committer: Jean-Baptiste Kempf

Contribs: automatically remove ELF binaries from prebuilt on Win32

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=135ec9c4ac6ee3a750eb332397ecedccbe12aec5
---

 contrib/src/main.mak |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index a3b98c0..b3a0ada 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -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
 



More information about the vlc-commits mailing list