vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | 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
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to