[vlc-devel] [PATCH] do not put symlinks in the .tar.bz2

Steve Lhomme robux4 at gmail.com
Tue Feb 17 12:25:42 CET 2015


The win32 prebuilt contrib package includes some symlink that fails to
decompress on msys2. In the end some files are missing from the contrib
like "rcc.exe".

This patch should fix this.

---
 contrib/src/main.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index fdeeba9..731e604 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -396,7 +396,7 @@ package: install
         cd share; rm -Rf man doc gtk-doc info lua projectM gettext; cd ..;
\
         rm -Rf man sbin etc lib/lua lib/sidplay
     cd tmp/$(notdir $(PREFIX)) && $(abspath $(SRC))/change_prefix.sh
$(PREFIX) @@CONTRIB_PREFIX@@
-    (cd tmp && tar c $(notdir $(PREFIX))/) | bzip2 -c >
../vlc-contrib-$(HOST)-$(DATE).tar.bz2
+    (cd tmp && tar c -h $(notdir $(PREFIX))/) | bzip2 -c >
../vlc-contrib-$(HOST)-$(DATE).tar.bz2

 list:
     @echo All packages:
-- 
2.3.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20150217/e7dd9dcb/attachment.html>


More information about the vlc-devel mailing list