forked from kiss-community/repo
pkg_strip: logging, and don't strip if nostrip file exists
This commit is contained in:
parent
c2974e0179
commit
5cbd914957
3
puke
3
puke
@ -84,6 +84,7 @@ pkg_build() {
|
||||
}
|
||||
|
||||
pkg_strip() {
|
||||
log "Stripping unneeded symbols from binaries and libraries"
|
||||
find "$pkg_dir" -type f | while read -r binary; do
|
||||
case "$(file -bi "$binary")" in
|
||||
application/x-sharedlib*|application/x-pie-executable*)
|
||||
@ -160,7 +161,7 @@ args() {
|
||||
pkg_verify
|
||||
pkg_extract
|
||||
pkg_build
|
||||
pkg_strip
|
||||
[ ! -f nostrip ] && pkg_strip
|
||||
pkg_manifest
|
||||
pkg_tar ;;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user