mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 00:08:50 -05:00
scripts/makepkg.sh.in: Strip bins/libs in all {bin, sbin, lib} directories.
In one of the original clean up patches[1] I changed the search path
for stripping binaries and libraries. This resulted in only
usr/{bin,sbin,lib} being searched. This patch reverts that change.
[1] 721ceee1e2
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
This commit is contained in:
parent
0ff02995f1
commit
12e1346252
@ -736,7 +736,7 @@ tidy_install() {
|
||||
|
||||
if [ "$(check_option strip)" = "y" ]; then
|
||||
msg2 "$(gettext "Stripping debugging symbols from binaries and libraries...")"
|
||||
for file in $(find {,*/}{bin,lib,sbin} -type f 2>/dev/null || true); do
|
||||
for file in $(find {,usr/{,local/},opt/}{bin,lib,sbin} -type f 2>/dev/null || true); do
|
||||
case "$(file -biz "$file")" in
|
||||
*application/x-sharedlib*) # Libraries
|
||||
/usr/bin/strip --strip-debug "$file";;
|
||||
|
Loading…
Reference in New Issue
Block a user