vlc | branch: master | David Fuhrmann <[email protected]> | Sat Jan 13 
17:57:28 2018 +0100| [475ea13b1a70ea0fa2d97e7a7f73ef46dc64756f] | committer: 
David Fuhrmann

macOS package: Add vlc-cache-gen to release package

This is needed during the signing process, as the libraries are
modified during the signing process.

refs #19448

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

 extras/package/macosx/package.mak | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/extras/package/macosx/package.mak 
b/extras/package/macosx/package.mak
index 4bbc8aef53..2cca442fae 100644
--- a/extras/package/macosx/package.mak
+++ b/extras/package/macosx/package.mak
@@ -98,6 +98,8 @@ package-macosx-release:
        cp -Rp $(top_builddir)/VLC.app $(top_builddir)/vlc-$(VERSION)-release/
        cp $(srcdir)/extras/package/macosx/dmg/* 
$(top_builddir)/vlc-$(VERSION)-release/
        cp "$(srcdir)/extras/package/macosx/codesign.sh" 
$(top_builddir)/vlc-$(VERSION)-release/
+       cp "$(prefix)/lib/vlc/vlc-cache-gen" 
$(top_builddir)/vlc-$(VERSION)-release/
+       install_name_tool -add_rpath 
"@executable_path/VLC.app/Contents/MacOS/lib" 
$(top_builddir)/vlc-$(VERSION)-release/vlc-cache-gen
        zip -r -y -9 $(top_builddir)/vlc-$(VERSION)-release.zip 
$(top_builddir)/vlc-$(VERSION)-release
        rm -rf "$(top_builddir)/vlc-$(VERSION)-release"
 

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

Reply via email to