mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-13 16:44:04 +01:00
Crashreporting
This commit is contained in:
8
scripts/ci/linux/split_debug_symbols.sh
Normal file
8
scripts/ci/linux/split_debug_symbols.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -x
|
||||
objcopy --only-keep-debug --compress-debug-section=zlib "${1}" "${1}.debug"
|
||||
if [ -f "${1}.debug" ]; then
|
||||
objcopy --strip-debug --strip-unneeded "${1}"
|
||||
objcopy --add-gnu-debuglink="${1}.debug" "${1}"
|
||||
fi
|
||||
Reference in New Issue
Block a user