[vlc-commits] macOS build.sh: Recreate plugins cache after stripping symbols

David Fuhrmann git at videolan.org
Tue Jan 9 20:12:22 CET 2018


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Tue Jan  9 19:52:40 2018 +0100| [c42cd33ab431b0bcacbdbd0671099321bb3c3824] | committer: David Fuhrmann

macOS build.sh: Recreate plugins cache after stripping symbols

Stripping will invalidate the existing cache.

refs #19448

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

 extras/package/macosx/build.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/extras/package/macosx/build.sh b/extras/package/macosx/build.sh
index 0e5a3a3f99..68b1d2ea4d 100755
--- a/extras/package/macosx/build.sh
+++ b/extras/package/macosx/build.sh
@@ -285,7 +285,7 @@ make VLC.app
 if [ "$PACKAGETYPE" = "u" ]; then
     info "Copying app with debug symbols into VLC-debug.app and stripping"
     rm -rf VLC-debug.app
-    cp -R VLC.app VLC-debug.app
+    cp -Rp VLC.app VLC-debug.app
 
     find VLC.app/ -name "*.dylib" -exec strip -u -r {} \;
     find VLC.app/ -type f -name "VLC" -exec strip -u -r {} \;
@@ -293,6 +293,8 @@ if [ "$PACKAGETYPE" = "u" ]; then
     find VLC.app/ -type f -name "Growl" -exec strip -u -r {} \;
     find VLC.app/ -type f -name "Breakpad" -exec strip -u -r {} \;
 
+    bin/vlc-cache-gen VLC.app/Contents/MacOS/plugins
+
     info "Building VLC release archive"
     make package-macosx-release
     shasum -a 512 vlc-*-release.zip



More information about the vlc-commits mailing list