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

David Fuhrmann git at videolan.org
Tue Jan 9 20:33:18 CET 2018


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

macOS build.sh: Recreate plugins cache after stripping symbols

Stripping will invalidate the existing cache.

refs #19448

(cherry picked from commit c42cd33ab431b0bcacbdbd0671099321bb3c3824)
Signed-off-by: David Fuhrmann <dfuhrmann at videolan.org>

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

 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 4bbc05a48c..fc41d35e38 100755
--- a/extras/package/macosx/build.sh
+++ b/extras/package/macosx/build.sh
@@ -280,7 +280,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 {} \;
@@ -288,6 +288,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