Fix stripping of binaries.

Instead of using the never-defined $binpath (undefined going back to at
least Wireshark 1.0.0 - is it a leftover from the Inkscape version?),
use $bundle_binary_list, to strip all the executables with strip -ur.

(Not that we want to strip anything - we don't even want the debugging
symbols stripped! - but for cleanliness.)

Change-Id: I9c3520ffb418bf9dc206d3ccb55d347c208f3be2
Reviewed-on: https://code.wireshark.org/review/26033
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2018-02-22 20:37:47 -08:00
parent 434d1c9759
commit 316b858d28
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ chmod 755 "$pkglib"/*.dylib
if [ "$strip" = "true" ]; then
echo -e "\nStripping debugging symbols...\n"
strip -x "$pkglib"/*.dylib
strip -ur "$binpath"
strip -ur "$bundle_binary_list"
fi
#