FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

 
 
LinkBack Thread Tools
 
Old 07-18-2008, 04:21 AM
Allan McRae
 
Default Strip *.a libraries in makepkg

Signed-off-by: Allan McRae <allan@archlinux.org>
---
scripts/makepkg.sh.in | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index cbdad56..4edb967 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -740,7 +740,9 @@ tidy_install() {
bindirs="bin lib sbin usr/bin usr/lib usr/sbin usr/local/bin usr/local/lib usr/local/sbin opt/*/bin opt/*/lib opt/*/sbin"
find ${bindirs} -type f 2>/dev/null | while read binary ; do
case "$(file -biz "$binary")" in
- *application/x-sharedlib*) # Libraries
+ *application/x-sharedlib*) # Libraries (.so)
+ /usr/bin/strip --strip-debug "$binary";;
+ *application/x-archive*) # Libraries (.a)
/usr/bin/strip --strip-debug "$binary";;
*application/x-executable*) # Binaries
/usr/bin/strip "$binary";;
--
1.5.6.3


_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev
 

Thread Tools




All times are GMT. The time now is 01:15 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org