[vlc-commits] macOS build.sh: Workaround for breakpad symbol generation
David Fuhrmann
git at videolan.org
Sat Mar 24 16:58:23 CET 2018
vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sat Mar 24 16:53:35 2018 +0100| [f006b0e462b8a2a77a108d174cf2af6dee58f392] | committer: David Fuhrmann
macOS build.sh: Workaround for breakpad symbol generation
Current tools set the library identification names to the
unversioned libraries (e.g. rpath/libvlccore.dylib), therefore
breakpad needs symbols with that library name.
Currently, breakpad does not support having the same symbols for
multiple names, therefore it cannot keep symbols for both the
versioned and unversioned variants.
Workaround that by removing the symlinks and only keeping the
unversioned name of the libraries for VLC-debug.app.
refs #19653
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f006b0e462b8a2a77a108d174cf2af6dee58f392
---
extras/package/macosx/build.sh | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/extras/package/macosx/build.sh b/extras/package/macosx/build.sh
index d92f9fa933..e628c03788 100755
--- a/extras/package/macosx/build.sh
+++ b/extras/package/macosx/build.sh
@@ -231,6 +231,12 @@ if [ "$PACKAGETYPE" = "u" ]; then
rm -rf VLC-debug.app
cp -Rp VLC.app VLC-debug.app
+ # Workaround for breakpad symbol parsing:
+ # Symbols must be uploaded for libvlc(core).dylib, not libvlc(core).x.dylib
+ (cd VLC-debug.app/Contents/MacOS/lib/ && rm libvlccore.dylib && mv libvlccore.*.dylib libvlccore.dylib)
+ (cd VLC-debug.app/Contents/MacOS/lib/ && rm libvlc.dylib && mv libvlc.*.dylib libvlc.dylib)
+
+
find VLC.app/ -name "*.dylib" -exec strip -x {} \;
find VLC.app/ -type f -name "VLC" -exec strip -x {} \;
find VLC.app/ -type f -name "Sparkle" -exec strip -x {} \;
More information about the vlc-commits
mailing list