Also strip libraries on x86_64, which uses lib32 and lib64 directory names

This commit is contained in:
Aleric Inglewood
2011-05-08 15:44:06 +02:00
parent 0fa396938b
commit 111c671a21

View File

@@ -723,8 +723,8 @@ class LinuxManifest(ViewerManifest):
if self.args['buildtype'].lower() in ['release', 'releasesse2']:
print "* Going strip-crazy on the packaged binaries, since this is a RELEASE build"
# makes some small assumptions about our packaged dir structure
self.run_command("find %(d)r/bin %(d)r/lib -type f | xargs --no-run-if-empty strip --strip-unneeded" % {'d': self.get_dst_prefix()} )
self.run_command("find %(d)r/bin %(d)r/lib -type f -not -name \\*.so | xargs --no-run-if-empty strip -s" % {'d': self.get_dst_prefix()} )
self.run_command("find %(d)r/bin %(d)r/lib* -type f | xargs --no-run-if-empty strip --strip-unneeded" % {'d': self.get_dst_prefix()} )
self.run_command("find %(d)r/bin %(d)r/lib* -type f -not -name \\*.so | xargs --no-run-if-empty strip -s" % {'d': self.get_dst_prefix()} )
# Fix access permissions
self.run_command("""