[vlc-commits] commit: contribs packaging: use the correct runtime version for win64 ( Rafaël Carré )

git at videolan.org git at videolan.org
Mon Oct 11 15:42:30 CEST 2010


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Mon Oct 11 15:42:02 2010 +0200| [017db3277468ddac8b534c71f8c6671a8c0abb3e] | committer: Rafaël Carré 

contribs packaging: use the correct runtime version for win64

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

 extras/contrib/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/extras/contrib/Makefile b/extras/contrib/Makefile
index 805942d..cd331af 100644
--- a/extras/contrib/Makefile
+++ b/extras/contrib/Makefile
@@ -136,7 +136,7 @@ package-win%:
 # Remove unused and potentially harmful files (but skip qt4 executables)
 	(cd tmp/$(DISTDIR)/bin && rm -fv `find . -name 'uic.exe' -o -name 'rcc.exe' -o -name 'moc.exe' -o -name '*.exe' -printf '%p '` && chmod a+x * || true)
 # Tar it.
-	(cd tmp; tar cf - $(DISTDIR)) | bzip2 -c > contrib-`date +%Y%m%d`-win$*-bin-gcc-`$(CC) --version|head -n 1|cut -f 3 -d ' '`-runtime-`/bin/echo -e "#include <_mingw.h>\n__MINGW32_VERSION"|$(CC) -E -|grep -v ^#|grep -v ' '`-only.tar.bz2
+	(cd tmp; tar cf - $(DISTDIR)) | bzip2 -c > contrib-`date +%Y%m%d`-win$*-bin-gcc-`$(CC) --version|head -n 1|cut -f 3 -d ' '`-runtime-`/bin/echo -e "#include <_mingw.h>\n#define CONCAT2(a,b) a##b\n#define CONCAT(a,b) CONCAT2(a,b)\n#ifdef __MINGW64_VERSION_MAJOR\nCONCAT(CONCAT(__MINGW64_VERSION_MAJOR,.),__MINGW64_VERSION_MINOR)\n#else\n__MINGW32_VERSION\n#endif"|$(CC) -E -|tail -1`-only.tar.bz2
 	rm -rf tmp
 
 .PHONY: all clean-src clean-bin clean package-macosx



More information about the vlc-commits mailing list