summaryrefslogtreecommitdiff
path: root/dh_shlibdeps
diff options
context:
space:
mode:
authorjoey <joey>1999-09-17 07:30:33 +0000
committerjoey <joey>1999-09-17 07:30:33 +0000
commitcb8f0d2cdfaddd01b97197968fcfcacc4f156506 (patch)
tree35868e1c1dc5fc75d59a31acdaea86ca8a3fc013 /dh_shlibdeps
parent970f396caab1e54062cf3c2e0de2b80a092510eb (diff)
r278: * dh_shlibdeps: detect statically linked binaries and don't pass them to
dpkg-shlibdeps.
Diffstat (limited to 'dh_shlibdeps')
-rwxr-xr-xdh_shlibdeps2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_shlibdeps b/dh_shlibdeps
index bd733b37..cdf13566 100755
--- a/dh_shlibdeps
+++ b/dh_shlibdeps
@@ -17,7 +17,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
foreach $file (split(/\n/,`find $TMP -type f \\( -perm +111 -or -name "*.so*" \\)`)) {
# TODO: this is slow, optimize. Ie, file can run once on multiple files..
$ff=`file "$file"`;
- if ($ff=~m/ELF/) {
+ if ($ff=~m/ELF/ && ! $ff=~/statically linked/) {
push @filelist,$file;
}
}