summaryrefslogtreecommitdiff
path: root/dh_strip
diff options
context:
space:
mode:
authorjoey <joey>2002-05-23 00:48:47 +0000
committerjoey <joey>2002-05-23 00:48:47 +0000
commit4f601f037fad476c5b3bbc8ad196048a755c9ac9 (patch)
tree5cd1d529421494351075f0dd652732ed39efc76b /dh_strip
parent96050cc65968bb2e0a2112247a618443483f73b2 (diff)
downloaddebhelper-4f601f037fad476c5b3bbc8ad196048a755c9ac9.tar.gz
r525: * dh_strip: If a file is an ELF shared binary, does not have a .so.* in its
name, stirp it as a ELF binary. It seems that GNUstep has files of this sort. See bug #35733 (not sufficient to close all of it).
Diffstat (limited to 'dh_strip')
-rwxr-xr-xdh_strip2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_strip b/dh_strip
index a62e440d..31d51aff 100755
--- a/dh_strip
+++ b/dh_strip
@@ -93,7 +93,7 @@ sub testfile {
if ($mode & 0111) {
# Ok, expensive test.
my $type=get_file_type($_);
- if ($type=~m/.*ELF.*executable.*/) {
+ if ($type=~m/.*ELF.*(executable|shared).*/) {
push @executables, $fn;
return;
}