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

Jean-Baptiste Kempf git at videolan.org
Tue Feb 24 19:05:46 CET 2015


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

Contribs: automatically remove ELF binaries from prebuilt on Win32

(cherry picked from commit 135ec9c4ac6ee3a750eb332397ecedccbe12aec5)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=9274966d8ec61f4c7b652be00a0e9a7bfe9a1593
---

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

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 6ef8c3a..c9f409a 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