From: joey Date: Fri, 17 Sep 1999 07:30:33 +0000 (+0000) Subject: r278: * dh_shlibdeps: detect statically linked binaries and don't pass them to X-Git-Tag: version_2.0.101~320 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=cb8f0d2cdfaddd01b97197968fcfcacc4f156506;p=debhelper.git r278: * dh_shlibdeps: detect statically linked binaries and don't pass them to dpkg-shlibdeps. --- diff --git a/debian/changelog b/debian/changelog index 5b713ca..31ee561 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +debhelper (2.0.49) unstable; urgency=low + + * dh_shlibdeps: detect statically linked binaries and don't pass them to + dpkg-shlibdeps. + + -- Joey Hess Fri, 17 Sep 1999 00:28:59 -0700 + debhelper (2.0.48) unstable; urgency=low * 4 whole days without a debhelper upload! Can't let that happen. Let's see.. diff --git a/dh_shlibdeps b/dh_shlibdeps index bd733b3..cdf1356 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; } }