Skip to content

Commit de375a9

Browse files
Make the Linux/Android stripping step more thorough
1 parent f3e956c commit de375a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/extract-debug-symbols.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ for input in $inputs ; do
1818
# If this file is a dynamic library, don't do a full strip or we'll
1919
# destroy it (no symbols => can't link to it)
2020
if [[ "$(objdump -f $input)" =~ "DYNAMIC" ]] ; then
21-
$STRIP --preserve-dates --strip-debug "$input"
21+
$STRIP -x --preserve-dates --strip-debug "$input"
2222
else
23-
$STRIP --preserve-dates --strip-debug --strip-unneeded "$input"
23+
$STRIP -x --preserve-dates --strip-debug --strip-unneeded "$input"
2424
fi
2525

2626
# Add a hint for the debugger so it can find the debug info

0 commit comments

Comments
 (0)